#9D9E20#9D9E20
#9D9E20 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.138 H 110.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9D9E20 |
|---|---|
| RGB | rgb(157, 158, 32) |
| HSL | hsl(60, 66%, 37%) |
| HSV | hsv(60, 80%, 62%) |
| CMYK | cmyk(0.6%, 0%, 79.7%, 38%) |
| CIE-LAB | lab(63.12, -14.82, 59.88) |
| CIE-LCH | lch(63.12, 61.69, 103.90°) |
| OKLab | oklab(67.7% -0.0475 0.1301) |
| OKLCH | oklch(67.7% 0.138 110.1) |
| XYZ | xyz(26.3932, 31.7269, 6.0998) |
| Luminance | 0.3173 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.13
Pea Soup
#929901
ΔE00 2.62
Puke
#A5A502
ΔE00 3.01
Baby Poop Green
#8F9805
ΔE00 3.18
Pea Soup Green
#94A617
ΔE00 4.31
Baby Shit Green
#889717
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D9E20 #21209E
analogous
#9E6020 #9D9E20 #5E9E20
triadic
#9D9E20 #209D9E #9E209D
tetradic
#9D9E20 #209E60 #21209E #9E205E
square
#9D9E20 #209E60 #21209E #9E205E
split-complementary
#9D9E20 #205E9E #60209E
monochromatic
#38380B #6A6B16 #9D9E20 #D0D12A #DDDE5B
Accessibility & contrast
On white
2.86
#9D9E20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#9D9E20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D9E20
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D9E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D9E20 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2C
Tritanopia (blue-blind)
#A99487
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9d9e20; /* rgb */ color: rgb(157, 158, 32); /* oklch */ color: oklch(67.7% 0.138 110.1);
Tailwind
colors: {
custom: {
50: '#beba68',
500: '#9d9e20',
950: '#000000',
},
}SCSS
$custom: #9d9e20; $custom-light: #beba68; $custom-dark: #000000;
JSON
{
"hex": "#9d9e20",
"rgb": {
"r": 157,
"g": 158,
"b": 32
},
"hsl": {
"h": 60.476,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.67696,
"c": 0.13847,
"h": 110.1
},
"luminance": 0.31726
}Semantic roles & 50–950 ramp
primary
#9D9E20
secondary
#5958C2
accent
#3FE940
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A