#9EB522#9EB522
#9EB522 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.1% C 0.162 H 118.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9EB522 |
|---|---|
| RGB | rgb(158, 181, 34) |
| HSL | hsl(69, 68%, 42%) |
| HSV | hsv(69, 81%, 71%) |
| CMYK | cmyk(12.7%, 0%, 81.2%, 29%) |
| CIE-LAB | lab(69.78, -25.87, 65.22) |
| CIE-LCH | lch(69.78, 70.17, 111.64°) |
| OKLab | oklab(73.06% -0.0779 0.1418) |
| OKLCH | oklch(73.06% 0.162 118.8) |
| XYZ | xyz(30.9139, 40.4326, 7.6888) |
| Luminance | 0.4043 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.57
Booger Green
#96B403
ΔE00 1.67
Sickly Green
#94B21C
ΔE00 1.88
Puke Green
#9AAE07
ΔE00 2.22
Bright Olive
#9CBB04
ΔE00 2.25
Pea
#A4BF20
ΔE00 2.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EB522 #3922B5
analogous
#B58322 #9EB522 #54B522
triadic
#9EB522 #229EB5 #B5229E
tetradic
#9EB522 #22B583 #3922B5 #B52254
square
#9EB522 #22B583 #3922B5 #B52254
split-complementary
#9EB522 #2254B5 #8322B5
monochromatic
#444E0F #718118 #9EB522 #C1DA3A #D1E46E
Accessibility & contrast
On white
2.31
#9EB522 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#9EB522 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EB522
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EB522 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EB522 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB31
Tritanopia (blue-blind)
#A8AB9B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #9eb522; /* rgb */ color: rgb(158, 181, 34); /* oklch */ color: oklch(73.1% 0.162 118.8);
Tailwind
colors: {
custom: {
50: '#bfcb6c',
500: '#9eb522',
950: '#000000',
},
}SCSS
$custom: #9eb522; $custom-light: #bfcb6c; $custom-dark: #000000;
JSON
{
"hex": "#9eb522",
"rgb": {
"r": 158,
"g": 181,
"b": 34
},
"hsl": {
"h": 69.388,
"s": 68.372,
"l": 42.157
},
"oklch": {
"l": 0.73064,
"c": 0.16182,
"h": 118.8
},
"luminance": 0.40432
}Semantic roles & 50–950 ramp
primary
#9EB522
secondary
#7869CA
accent
#3DEB58
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A