#9DAF22#9DAF22
#9DAF22 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.6% C 0.156 H 117.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9DAF22 |
|---|---|
| RGB | rgb(157, 175, 34) |
| HSL | hsl(68, 67%, 41%) |
| HSV | hsv(68, 81%, 69%) |
| CMYK | cmyk(10.3%, 0%, 80.6%, 31.4%) |
| CIE-LAB | lab(67.98, -23.36, 63.61) |
| CIE-LCH | lch(67.98, 67.76, 110.16°) |
| OKLab | oklab(71.6% -0.071 0.1384) |
| OKLCH | oklch(71.6% 0.156 117.1) |
| XYZ | xyz(29.5241, 37.9439, 7.2817) |
| Luminance | 0.3794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.26
Barf Green
#94AC02
ΔE00 1.91
Sickly Green
#94B21C
ΔE00 2.44
Booger Green
#96B403
ΔE00 2.63
Pea Soup Green
#94A617
ΔE00 2.68
Pea Green
#8EAB12
ΔE00 2.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DAF22 #3422AF
analogous
#AF7A22 #9DAF22 #56AF22
triadic
#9DAF22 #229DAF #AF229D
tetradic
#9DAF22 #22AF7A #3422AF #AF2256
square
#9DAF22 #22AF7A #3422AF #AF2256
split-complementary
#9DAF22 #2256AF #7A22AF
monochromatic
#41490E #6F7C18 #9DAF22 #C3D836 #D3E269
Accessibility & contrast
On white
2.45
#9DAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#9DAF22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DAF22
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DAF22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DAF22 | 1.00 | 2.45 | 8.59 | 8.59 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BAA630
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9daf22; /* rgb */ color: rgb(157, 175, 34); /* oklch */ color: oklch(71.6% 0.156 117.1);
Tailwind
colors: {
custom: {
50: '#bec66b',
500: '#9daf22',
950: '#000000',
},
}SCSS
$custom: #9daf22; $custom-light: #bec66b; $custom-dark: #000000;
JSON
{
"hex": "#9daf22",
"rgb": {
"r": 157,
"g": 175,
"b": 34
},
"hsl": {
"h": 67.66,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.71599,
"c": 0.15554,
"h": 117.1
},
"luminance": 0.37944
}Semantic roles & 50–950 ramp
primary
#9DAF22
secondary
#7265C8
accent
#3DEA54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A