#9E9F20#9E9F20
#9E9F20 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.139 H 110.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9F20 |
|---|---|
| RGB | rgb(158, 159, 32) |
| HSL | hsl(60, 66%, 37%) |
| HSV | hsv(60, 80%, 62%) |
| CMYK | cmyk(0.6%, 0%, 79.9%, 37.6%) |
| CIE-LAB | lab(63.48, -14.89, 60.24) |
| CIE-LCH | lch(63.48, 62.05, 103.89°) |
| OKLab | oklab(68.01% -0.0478 0.1308) |
| OKLCH | oklch(68.01% 0.139 110.1) |
| XYZ | xyz(26.7604, 32.1705, 6.1661) |
| Luminance | 0.3217 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.83
Puke
#A5A502
ΔE00 2.73
Pea Soup
#929901
ΔE00 2.84
Baby Poop Green
#8F9805
ΔE00 3.41
Pea Soup Green
#94A617
ΔE00 4.21
Baby Shit Green
#889717
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9F20 #21209F
analogous
#9F6020 #9E9F20 #5F9F20
triadic
#9E9F20 #209E9F #9F209E
tetradic
#9E9F20 #209F60 #21209F #9F205F
square
#9E9F20 #209F60 #21209F #9F205F
split-complementary
#9E9F20 #205F9F #60209F
monochromatic
#39390B #6B6C16 #9E9F20 #D1D22A #DDDE5B
Accessibility & contrast
On white
2.82
#9E9F20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#9E9F20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9F20
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9F20 | 1.00 | 2.82 | 7.43 | 7.43 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AE9B2C
Tritanopia (blue-blind)
#AA9488
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9e9f20; /* rgb */ color: rgb(158, 159, 32); /* oklch */ color: oklch(68.0% 0.139 110.1);
Tailwind
colors: {
custom: {
50: '#bebb68',
500: '#9e9f20',
950: '#000000',
},
}SCSS
$custom: #9e9f20; $custom-light: #bebb68; $custom-dark: #000000;
JSON
{
"hex": "#9e9f20",
"rgb": {
"r": 158,
"g": 159,
"b": 32
},
"hsl": {
"h": 60.472,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.6801,
"c": 0.13924,
"h": 110.1
},
"luminance": 0.3217
}Semantic roles & 50–950 ramp
primary
#9E9F20
secondary
#5959C2
accent
#3EE940
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A