#9B9820#9B9820
#9B9820 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.2% C 0.133 H 108.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9820 |
|---|---|
| RGB | rgb(155, 152, 32) |
| HSL | hsl(59, 66%, 37%) |
| HSV | hsv(59, 79%, 61%) |
| CMYK | cmyk(0%, 1.9%, 79.4%, 39.2%) |
| CIE-LAB | lab(61.25, -12.57, 58.15) |
| CIE-LCH | lch(61.25, 59.50, 102.20°) |
| OKLab | oklab(66.16% -0.0412 0.1265) |
| OKLCH | oklch(66.16% 0.133 108) |
| XYZ | xyz(25.0075, 29.5302, 5.7488) |
| Luminance | 0.2953 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.83
Baby Poop Green
#8F9805
ΔE00 3.27
Vomit
#A2A415
ΔE00 3.95
Puke
#A5A502
ΔE00 4.57
Baby Shit Green
#889717
ΔE00 4.85
Pea Soup Green
#94A617
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9820 #20239B
analogous
#9B5B20 #9B9820 #619B20
triadic
#9B9820 #209B98 #98209B
tetradic
#9B9820 #209B5B #20239B #9B2061
square
#9B9820 #209B5B #20239B #9B2061
split-complementary
#9B9820 #20619B #5B209B
monochromatic
#36350B #686616 #9B9820 #CECA2A #DDD959
Accessibility & contrast
On white
3.04
#9B9820 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#9B9820 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9820
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9820 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9820 | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A7962A
Tritanopia (blue-blind)
#A78E82
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9b9820; /* rgb */ color: rgb(155, 152, 32); /* oklch */ color: oklch(66.2% 0.133 108.0);
Tailwind
colors: {
custom: {
50: '#bcb667',
500: '#9b9820',
950: '#000000',
},
}SCSS
$custom: #9b9820; $custom-light: #bcb667; $custom-dark: #000000;
JSON
{
"hex": "#9b9820",
"rgb": {
"r": 155,
"g": 152,
"b": 32
},
"hsl": {
"h": 58.537,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.66161,
"c": 0.13298,
"h": 108
},
"luminance": 0.29529
}Semantic roles & 50–950 ramp
primary
#9B9820
secondary
#5659C1
accent
#43E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A