Skip to content

#9eb608

a dark, electric yellow · cool · closest name: olivedrab

RGB
158, 182, 8
HSL
68°, 92%, 37%
CMYK
13, 0, 96, 29
Luminance
0.4074

Every format

HEX#9eb608
RGBrgb(158, 182, 8)
HSLhsl(68, 92%, 37%)
CMYKcmyk(13%, 0%, 96%, 29%)
LABlab(70.0 -27.0 70.2)
LCHlch(70.0 75.2 111.0)
OKLCHoklch(0.732 0.170 118.8)

Copy-ready code

/* CSS */
color: #9eb608;
background-color: #9eb608;
/* Tailwind (arbitrary) */
class="text-[#9eb608] bg-[#9eb608]"
/* SCSS */
$brand: #9eb608;
/* SwiftUI */
Color(red: 0.620, green: 0.714, blue: 0.031)
/* Android */
Color.parseColor("#9eb608")

Accessibility — WCAG contrast

Aa
#9eb608 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#9eb608 on black: 9.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.0%
Green71.4%
Blue3.1%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow95.6%
Key (black)28.6%

Color previews

#9eb608 text on a black background

contrast 9.15:1

Card sample

#9eb608 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9eb608;
Background color
Panel with #9eb608 background
background-color: #9eb608;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9eb608;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(158, 182, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(158, 182, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9eb608;
background: linear-gradient(135deg, #9eb608, #2AB608);

Monochromatic scale

Palettes built from #9eb608

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9eb608 in the Color Lab