#9DAF2F#9DAF2F
#9DAF2F is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.7% C 0.149 H 117.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9DAF2F |
|---|---|
| RGB | rgb(157, 175, 47) |
| HSL | hsl(68, 58%, 44%) |
| HSV | hsv(68, 73%, 69%) |
| CMYK | cmyk(10.3%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(68.05, -22.79, 59.55) |
| CIE-LCH | lch(68.05, 63.76, 110.94°) |
| OKLab | oklab(71.67% -0.0683 0.1321) |
| OKLCH | oklch(71.67% 0.149 117.4) |
| XYZ | xyz(29.7484, 38.0336, 8.4629) |
| Luminance | 0.3803 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.31
Sickly Green
#94B21C
ΔE00 2.56
Booger
#9BB53C
ΔE00 2.56
Barf Green
#94AC02
ΔE00 2.61
Icky Green
#8FAE22
ΔE00 2.82
Pea Soup Green
#94A617
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DAF2F #412FAF
analogous
#AF812F #9DAF2F #5DAF2F
triadic
#9DAF2F #2F9DAF #AF2F9D
tetradic
#9DAF2F #2FAF81 #412FAF #AF2F5D
square
#9DAF2F #2FAF81 #412FAF #AF2F5D
split-complementary
#9DAF2F #2F5DAF #812FAF
monochromatic
#464F15 #727F22 #9DAF2F #BDCF4C #CFDC7C
Accessibility & contrast
On white
2.44
#9DAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#9DAF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DAF2F
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DAF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DAF2F | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA516
Deuteranopia (green-blind)
#B9A73A
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9daf2f; /* rgb */ color: rgb(157, 175, 47); /* oklch */ color: oklch(71.7% 0.149 117.4);
Tailwind
colors: {
custom: {
50: '#bdc671',
500: '#9daf2f',
950: '#000000',
},
}SCSS
$custom: #9daf2f; $custom-light: #bdc671; $custom-dark: #000000;
JSON
{
"hex": "#9daf2f",
"rgb": {
"r": 157,
"g": 175,
"b": 47
},
"hsl": {
"h": 68.438,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.71673,
"c": 0.1487,
"h": 117.4
},
"luminance": 0.38033
}Semantic roles & 50–950 ramp
primary
#9DAF2F
secondary
#8075C4
accent
#47E15D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B