#9DA12C#9DA12C
#9DA12C is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.4% C 0.135 H 111.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9DA12C |
|---|---|
| RGB | rgb(157, 161, 44) |
| HSL | hsl(62, 57%, 40%) |
| HSV | hsv(62, 73%, 63%) |
| CMYK | cmyk(2.5%, 0%, 72.7%, 36.9%) |
| CIE-LAB | lab(64.03, -15.85, 56.76) |
| CIE-LCH | lch(64.03, 58.93, 105.61°) |
| OKLab | oklab(68.45% -0.0493 0.1257) |
| OKLCH | oklch(68.45% 0.135 111.4) |
| XYZ | xyz(27.1050, 32.8404, 7.2934) |
| Luminance | 0.3284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.44
Pea Soup
#929901
ΔE00 3.42
Pea Soup Green
#94A617
ΔE00 3.54
Puke
#A5A502
ΔE00 3.54
Baby Poop Green
#8F9805
ΔE00 3.75
Baby Shit Green
#889717
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DA12C #302CA1
analogous
#A16A2C #9DA12C #63A12C
triadic
#9DA12C #2C9DA1 #A12C9D
tetradic
#9DA12C #2CA16A #302CA1 #A12C63
square
#9DA12C #2CA16A #302CA1 #A12C63
split-complementary
#9DA12C #2C63A1 #6A2CA1
monochromatic
#3F4112 #6E711F #9DA12C #C6CB40 #D4D870
Accessibility & contrast
On white
2.77
#9DA12C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#9DA12C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DA12C
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DA12C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DA12C | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A16
Deuteranopia (green-blind)
#AE9D35
Tritanopia (blue-blind)
#A8978A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9da12c; /* rgb */ color: rgb(157, 161, 44); /* oklch */ color: oklch(68.4% 0.135 111.4);
Tailwind
colors: {
custom: {
50: '#bdbc6e',
500: '#9da12c',
950: '#000000',
},
}SCSS
$custom: #9da12c; $custom-light: #bdbc6e; $custom-dark: #000000;
JSON
{
"hex": "#9da12c",
"rgb": {
"r": 157,
"g": 161,
"b": 44
},
"hsl": {
"h": 62.051,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.68448,
"c": 0.135,
"h": 111.4
},
"luminance": 0.3284
}Semantic roles & 50–950 ramp
primary
#9DA12C
secondary
#6D6ABF
accent
#47E04D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B