#9DAC2C#9DAC2C
#9DAC2C is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.147 H 116.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9DAC2C |
|---|---|
| RGB | rgb(157, 172, 44) |
| HSL | hsl(67, 59%, 42%) |
| HSV | hsv(67, 74%, 67%) |
| CMYK | cmyk(8.7%, 0%, 74.4%, 32.5%) |
| CIE-LAB | lab(67.17, -21.44, 59.76) |
| CIE-LCH | lch(67.17, 63.49, 109.74°) |
| OKLab | oklab(70.96% -0.0649 0.132) |
| OKLCH | oklch(70.96% 0.147 116.2) |
| XYZ | xyz(29.1125, 36.8554, 7.9626) |
| Luminance | 0.3685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.25
Pea Soup Green
#94A617
ΔE00 2.27
Barf Green
#94AC02
ΔE00 2.58
Pea Green
#8EAB12
ΔE00 3.16
Sickly Green
#94B21C
ΔE00 3.26
Icky Green
#8FAE22
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DAC2C #3B2CAC
analogous
#AC7B2C #9DAC2C #5DAC2C
triadic
#9DAC2C #2C9DAC #AC2C9D
tetradic
#9DAC2C #2CAC7B #3B2CAC #AC2C5D
square
#9DAC2C #2CAC7B #3B2CAC #AC2C5D
split-complementary
#9DAC2C #2C5DAC #7B2CAC
monochromatic
#444B13 #717B20 #9DAC2C #BFD046 #D0DC76
Accessibility & contrast
On white
2.51
#9DAC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#9DAC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DAC2C
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DAC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DAC2C | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A310
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#A7A294
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9dac2c; /* rgb */ color: rgb(157, 172, 44); /* oklch */ color: oklch(71.0% 0.147 116.2);
Tailwind
colors: {
custom: {
50: '#bdc46f',
500: '#9dac2c',
950: '#000000',
},
}SCSS
$custom: #9dac2c; $custom-light: #bdc46f; $custom-dark: #000000;
JSON
{
"hex": "#9dac2c",
"rgb": {
"r": 157,
"g": 172,
"b": 44
},
"hsl": {
"h": 67.031,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.70963,
"c": 0.14707,
"h": 116.2
},
"luminance": 0.36855
}Semantic roles & 50–950 ramp
primary
#9DAC2C
secondary
#7A70C4
accent
#45E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B