#9B9720#9B9720
#9B9720 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.9% C 0.132 H 107.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9720 |
|---|---|
| RGB | rgb(155, 151, 32) |
| HSL | hsl(58, 66%, 37%) |
| HSV | hsv(58, 79%, 61%) |
| CMYK | cmyk(0%, 2.6%, 79.4%, 39.2%) |
| CIE-LAB | lab(60.96, -12.04, 57.90) |
| CIE-LCH | lch(60.96, 59.14, 101.75°) |
| OKLab | oklab(65.94% -0.0397 0.1259) |
| OKLCH | oklch(65.94% 0.132 107.5) |
| XYZ | xyz(24.8459, 29.2069, 5.6949) |
| Luminance | 0.2921 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.08
Baby Poop Green
#8F9805
ΔE00 3.49
Vomit
#A2A415
ΔE00 4.29
Puke
#A5A502
ΔE00 4.86
Baby Shit Green
#889717
ΔE00 5.04
Pea Soup Green
#94A617
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9720 #20249B
analogous
#9B5A20 #9B9720 #629B20
triadic
#9B9720 #209B97 #97209B
tetradic
#9B9720 #209B5A #20249B #9B2062
square
#9B9720 #209B5A #20249B #9B2062
split-complementary
#9B9720 #20629B #5A209B
monochromatic
#36340B #686616 #9B9720 #CEC82A #DDD859
Accessibility & contrast
On white
3.07
#9B9720 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#9B9720 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9720
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9720 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9720 | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A6952A
Tritanopia (blue-blind)
#A78D81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9b9720; /* rgb */ color: rgb(155, 151, 32); /* oklch */ color: oklch(65.9% 0.132 107.5);
Tailwind
colors: {
custom: {
50: '#bcb567',
500: '#9b9720',
950: '#000000',
},
}SCSS
$custom: #9b9720; $custom-light: #bcb567; $custom-dark: #000000;
JSON
{
"hex": "#9b9720",
"rgb": {
"r": 155,
"g": 151,
"b": 32
},
"hsl": {
"h": 58.049,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.65936,
"c": 0.13202,
"h": 107.5
},
"luminance": 0.29206
}Semantic roles & 50–950 ramp
primary
#9B9720
secondary
#565AC1
accent
#45E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A