#9D8F20#9D8F20
#9D8F20 is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.125 H 101.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9D8F20 |
|---|---|
| RGB | rgb(157, 143, 32) |
| HSL | hsl(53, 66%, 37%) |
| HSV | hsv(53, 80%, 62%) |
| CMYK | cmyk(0%, 8.9%, 79.6%, 38.4%) |
| CIE-LAB | lab(58.90, -6.86, 56.12) |
| CIE-LCH | lch(58.90, 56.54, 96.97°) |
| OKLab | oklab(64.33% -0.0253 0.122) |
| OKLCH | oklch(64.33% 0.125 101.7) |
| XYZ | xyz(23.9890, 26.9184, 5.2984) |
| Luminance | 0.2692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.38
Baby Shit Brown
#AD900D
ΔE00 4.83
Dark Mustard
#A88905
ΔE00 5.35
Diarrhea
#9F8303
ΔE00 5.47
Brown Yellow
#B29705
ΔE00 5.53
Pea Soup
#929901
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D8F20 #202E9D
analogous
#9D5120 #9D8F20 #6D9D20
triadic
#9D8F20 #209D8F #8F209D
tetradic
#9D8F20 #209D51 #202E9D #9D206D
square
#9D8F20 #209D51 #202E9D #9D206D
split-complementary
#9D8F20 #206D9D #51209D
monochromatic
#37320B #6A6116 #9D8F20 #D0BD2A #DDCF5A
Accessibility & contrast
On white
3.29
#9D8F20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#9D8F20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D8F20
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D8F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D8F20 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A02
Deuteranopia (green-blind)
#A19029
Tritanopia (blue-blind)
#AA847A
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9d8f20; /* rgb */ color: rgb(157, 143, 32); /* oklch */ color: oklch(64.3% 0.125 101.7);
Tailwind
colors: {
custom: {
50: '#beaf66',
500: '#9d8f20',
950: '#000000',
},
}SCSS
$custom: #9d8f20; $custom-light: #beaf66; $custom-dark: #000000;
JSON
{
"hex": "#9d8f20",
"rgb": {
"r": 157,
"g": 143,
"b": 32
},
"hsl": {
"h": 53.28,
"s": 66.138,
"l": 37.059
},
"oklch": {
"l": 0.64335,
"c": 0.12458,
"h": 101.7
},
"luminance": 0.26917
}Semantic roles & 50–950 ramp
primary
#9D8F20
secondary
#5763C1
accent
#52E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A