#9DAF2C#9DAF2C
#9DAF2C is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.7% C 0.150 H 117.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9DAF2C |
|---|---|
| RGB | rgb(157, 175, 44) |
| HSL | hsl(68, 60%, 43%) |
| HSV | hsv(68, 75%, 69%) |
| CMYK | cmyk(10.3%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(68.03, -22.93, 60.57) |
| CIE-LCH | lch(68.03, 64.77, 110.74°) |
| OKLab | oklab(71.65% -0.069 0.1337) |
| OKLCH | oklch(71.65% 0.15 117.3) |
| XYZ | xyz(29.6899, 38.0102, 8.1550) |
| Luminance | 0.3801 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.03
Barf Green
#94AC02
ΔE00 2.40
Sickly Green
#94B21C
ΔE00 2.48
Booger
#9BB53C
ΔE00 2.74
Pea Soup Green
#94A617
ΔE00 2.82
Icky Green
#8FAE22
ΔE00 2.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DAF2C #3E2CAF
analogous
#AF7F2C #9DAF2C #5CAF2C
triadic
#9DAF2C #2C9DAF #AF2C9D
tetradic
#9DAF2C #2CAF7F #3E2CAF #AF2C5C
square
#9DAF2C #2CAF7F #3E2CAF #AF2C5C
split-complementary
#9DAF2C #2C5CAF #7F2CAF
monochromatic
#454D13 #717E20 #9DAF2C #BED147 #CFDD78
Accessibility & contrast
On white
2.44
#9DAF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#9DAF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DAF2C
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DAF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DAF2C | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA50E
Deuteranopia (green-blind)
#B9A737
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9daf2c; /* rgb */ color: rgb(157, 175, 44); /* oklch */ color: oklch(71.7% 0.150 117.3);
Tailwind
colors: {
custom: {
50: '#bdc66f',
500: '#9daf2c',
950: '#000000',
},
}SCSS
$custom: #9daf2c; $custom-light: #bdc66f; $custom-dark: #000000;
JSON
{
"hex": "#9daf2c",
"rgb": {
"r": 157,
"g": 175,
"b": 44
},
"hsl": {
"h": 68.244,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.71654,
"c": 0.15046,
"h": 117.3
},
"luminance": 0.3801
}Semantic roles & 50–950 ramp
primary
#9DAF2C
secondary
#7D72C5
accent
#45E35B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B