#9EB12A#9EB12A
#9EB12A is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.153 H 117.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9EB12A |
|---|---|
| RGB | rgb(158, 177, 42) |
| HSL | hsl(68, 62%, 43%) |
| HSV | hsv(68, 76%, 69%) |
| CMYK | cmyk(10.7%, 0%, 76.3%, 30.6%) |
| CIE-LAB | lab(68.66, -23.59, 61.85) |
| CIE-LCH | lch(68.66, 66.20, 110.88°) |
| OKLab | oklab(72.18% -0.071 0.136) |
| OKLCH | oklch(72.18% 0.153 117.6) |
| XYZ | xyz(30.2413, 38.8809, 8.1017) |
| Luminance | 0.3888 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.93
Sickly Green
#94B21C
ΔE00 2.23
Barf Green
#94AC02
ΔE00 2.45
Sick Green
#9DB92C
ΔE00 2.55
Booger Green
#96B403
ΔE00 2.59
Booger
#9BB53C
ΔE00 2.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EB12A #3D2AB1
analogous
#B1802A #9EB12A #5BB12A
triadic
#9EB12A #2A9EB1 #B12A9E
tetradic
#9EB12A #2AB180 #3D2AB1 #B12A5B
square
#9EB12A #2AB180 #3D2AB1 #B12A5B
split-complementary
#9EB12A #2A5BB1 #802AB1
monochromatic
#464E13 #72801E #9EB12A #BFD345 #D0DF77
Accessibility & contrast
On white
2.39
#9EB12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#9EB12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EB12A
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EB12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EB12A | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA706
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#A8A798
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9eb12a; /* rgb */ color: rgb(158, 177, 42); /* oklch */ color: oklch(72.2% 0.153 117.6);
Tailwind
colors: {
custom: {
50: '#bec86f',
500: '#9eb12a',
950: '#000000',
},
}SCSS
$custom: #9eb12a; $custom-light: #bec86f; $custom-dark: #000000;
JSON
{
"hex": "#9eb12a",
"rgb": {
"r": 158,
"g": 177,
"b": 42
},
"hsl": {
"h": 68.444,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.72181,
"c": 0.15347,
"h": 117.6
},
"luminance": 0.38881
}Semantic roles & 50–950 ramp
primary
#9EB12A
secondary
#7D70C6
accent
#43E55A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B