#9DA42E#9DA42E
#9DA42E is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.1% C 0.137 H 112.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9DA42E |
|---|---|
| RGB | rgb(157, 164, 46) |
| HSL | hsl(64, 56%, 41%) |
| HSV | hsv(64, 72%, 64%) |
| CMYK | cmyk(4.3%, 0%, 72%, 35.7%) |
| CIE-LAB | lab(64.90, -17.30, 56.87) |
| CIE-LCH | lch(64.90, 59.44, 106.92°) |
| OKLab | oklab(69.15% -0.0532 0.1262) |
| OKLCH | oklch(69.15% 0.137 112.8) |
| XYZ | xyz(27.6741, 33.9169, 7.6730) |
| Luminance | 0.3392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.63
Pea Soup Green
#94A617
ΔE00 2.82
Puke
#A5A502
ΔE00 3.73
Pea Soup
#929901
ΔE00 4.04
Baby Poop Green
#8F9805
ΔE00 4.31
Puke Green
#9AAE07
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DA42E #352EA4
analogous
#A4702E #9DA42E #62A42E
triadic
#9DA42E #2E9DA4 #A42E9D
tetradic
#9DA42E #2EA470 #352EA4 #A42E62
square
#9DA42E #2EA470 #352EA4 #A42E62
split-complementary
#9DA42E #2E62A4 #702EA4
monochromatic
#414413 #6F7421 #9DA42E #C3CB45 #D2D874
Accessibility & contrast
On white
2.70
#9DA42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#9DA42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DA42E
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DA42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DA42E | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#A89A8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9da42e; /* rgb */ color: rgb(157, 164, 46); /* oklch */ color: oklch(69.1% 0.137 112.8);
Tailwind
colors: {
custom: {
50: '#bdbe6f',
500: '#9da42e',
950: '#000000',
},
}SCSS
$custom: #9da42e; $custom-light: #bdbe6f; $custom-dark: #000000;
JSON
{
"hex": "#9da42e",
"rgb": {
"r": 157,
"g": 164,
"b": 46
},
"hsl": {
"h": 63.559,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.69145,
"c": 0.13697,
"h": 112.8
},
"luminance": 0.33916
}Semantic roles & 50–950 ramp
primary
#9DA42E
secondary
#736EC0
accent
#48DF51
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B