#9E9B20#9E9B20
#9E9B20 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.135 H 108.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9B20 |
|---|---|
| RGB | rgb(158, 155, 32) |
| HSL | hsl(59, 66%, 37%) |
| HSV | hsv(59, 80%, 62%) |
| CMYK | cmyk(0%, 1.9%, 79.7%, 38%) |
| CIE-LAB | lab(62.35, -12.80, 59.24) |
| CIE-LCH | lch(62.35, 60.60, 102.20°) |
| OKLab | oklab(67.11% -0.042 0.1286) |
| OKLCH | oklch(67.11% 0.135 108.1) |
| XYZ | xyz(26.0837, 30.8170, 5.9405) |
| Luminance | 0.3082 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.99
Vomit
#A2A415
ΔE00 3.04
Baby Poop Green
#8F9805
ΔE00 3.55
Puke
#A5A502
ΔE00 3.64
Baby Shit Green
#889717
ΔE00 5.24
Pea Soup Green
#94A617
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9B20 #20239E
analogous
#9E5C20 #9E9B20 #629E20
triadic
#9E9B20 #209E9B #9B209E
tetradic
#9E9B20 #209E5C #20239E #9E2062
square
#9E9B20 #209E5C #20239E #9E2062
split-complementary
#9E9B20 #20629E #5C209E
monochromatic
#38370B #6B6916 #9E9B20 #D1CD2A #DEDB5B
Accessibility & contrast
On white
2.93
#9E9B20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#9E9B20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9B20
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9B20 | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA992B
Tritanopia (blue-blind)
#AA9084
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9e9b20; /* rgb */ color: rgb(158, 155, 32); /* oklch */ color: oklch(67.1% 0.135 108.1);
Tailwind
colors: {
custom: {
50: '#beb867',
500: '#9e9b20',
950: '#000000',
},
}SCSS
$custom: #9e9b20; $custom-light: #beb867; $custom-dark: #000000;
JSON
{
"hex": "#9e9b20",
"rgb": {
"r": 158,
"g": 155,
"b": 32
},
"hsl": {
"h": 58.571,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.67107,
"c": 0.13531,
"h": 108.1
},
"luminance": 0.30816
}Semantic roles & 50–950 ramp
primary
#9E9B20
secondary
#585AC2
accent
#43E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A