#9DA42C#9DA42C
#9DA42C is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.1% C 0.138 H 112.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9DA42C |
|---|---|
| RGB | rgb(157, 164, 44) |
| HSL | hsl(64, 58%, 41%) |
| HSV | hsv(64, 73%, 64%) |
| CMYK | cmyk(4.3%, 0%, 73.2%, 35.7%) |
| CIE-LAB | lab(64.88, -17.40, 57.58) |
| CIE-LCH | lch(64.88, 60.15, 106.81°) |
| OKLab | oklab(69.13% -0.0536 0.1274) |
| OKLCH | oklch(69.13% 0.138 112.8) |
| XYZ | xyz(27.6356, 33.9015, 7.4702) |
| Luminance | 0.3390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.46
Pea Soup Green
#94A617
ΔE00 2.73
Puke
#A5A502
ΔE00 3.56
Pea Soup
#929901
ΔE00 3.94
Puke Green
#9AAE07
ΔE00 4.21
Baby Poop Green
#8F9805
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DA42C #332CA4
analogous
#A46F2C #9DA42C #61A42C
triadic
#9DA42C #2C9DA4 #A42C9D
tetradic
#9DA42C #2CA46F #332CA4 #A42C61
square
#9DA42C #2CA46F #332CA4 #A42C61
split-complementary
#9DA42C #2C61A4 #6F2CA4
monochromatic
#414312 #6F741F #9DA42C #C4CC41 #D3D971
Accessibility & contrast
On white
2.70
#9DA42C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#9DA42C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DA42C
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DA42C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DA42C | 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)
#B19C15
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#A89A8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9da42c; /* rgb */ color: rgb(157, 164, 44); /* oklch */ color: oklch(69.1% 0.138 112.8);
Tailwind
colors: {
custom: {
50: '#bdbe6e',
500: '#9da42c',
950: '#000000',
},
}SCSS
$custom: #9da42c; $custom-light: #bdbe6e; $custom-dark: #000000;
JSON
{
"hex": "#9da42c",
"rgb": {
"r": 157,
"g": 164,
"b": 44
},
"hsl": {
"h": 63.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.69131,
"c": 0.13823,
"h": 112.8
},
"luminance": 0.33901
}Semantic roles & 50–950 ramp
primary
#9DA42C
secondary
#706BC0
accent
#47E150
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B