#9DAF2A#9DAF2A
#9DAF2A is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.6% C 0.152 H 117.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9DAF2A |
|---|---|
| RGB | rgb(157, 175, 42) |
| HSL | hsl(68, 61%, 43%) |
| HSV | hsv(68, 76%, 69%) |
| CMYK | cmyk(10.3%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(68.02, -23.03, 61.22) |
| CIE-LCH | lch(68.02, 65.41, 110.61°) |
| OKLab | oklab(71.64% -0.0694 0.1347) |
| OKLCH | oklch(71.64% 0.152 117.3) |
| XYZ | xyz(29.6533, 37.9956, 7.9618) |
| Luminance | 0.3800 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.86
Barf Green
#94AC02
ΔE00 2.28
Sickly Green
#94B21C
ΔE00 2.44
Pea Soup Green
#94A617
ΔE00 2.77
Icky Green
#8FAE22
ΔE00 2.86
Booger
#9BB53C
ΔE00 2.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DAF2A #3C2AAF
analogous
#AF7E2A #9DAF2A #5BAF2A
triadic
#9DAF2A #2A9DAF #AF2A9D
tetradic
#9DAF2A #2AAF7E #3C2AAF #AF2A5B
square
#9DAF2A #2AAF7E #3C2AAF #AF2A5B
split-complementary
#9DAF2A #2A5BAF #7E2AAF
monochromatic
#444C12 #717E1E #9DAF2A #BFD244 #D0DE75
Accessibility & contrast
On white
2.44
#9DAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#9DAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DAF2A
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DAF2A | 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)
#BBA508
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9daf2a; /* rgb */ color: rgb(157, 175, 42); /* oklch */ color: oklch(71.6% 0.152 117.3);
Tailwind
colors: {
custom: {
50: '#bdc66e',
500: '#9daf2a',
950: '#000000',
},
}SCSS
$custom: #9daf2a; $custom-light: #bdc66e; $custom-dark: #000000;
JSON
{
"hex": "#9daf2a",
"rgb": {
"r": 157,
"g": 175,
"b": 42
},
"hsl": {
"h": 68.12,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.71641,
"c": 0.15157,
"h": 117.3
},
"luminance": 0.37995
}Semantic roles & 50–950 ramp
primary
#9DAF2A
secondary
#7B6FC6
accent
#43E459
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B