#9B9722#9B9722
#9B9722 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.9% C 0.131 H 107.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9722 |
|---|---|
| RGB | rgb(155, 151, 34) |
| HSL | hsl(58, 64%, 37%) |
| HSV | hsv(58, 78%, 61%) |
| CMYK | cmyk(0%, 2.6%, 78.1%, 39.2%) |
| CIE-LAB | lab(60.97, -11.96, 57.28) |
| CIE-LCH | lch(60.97, 58.51, 101.80°) |
| OKLab | oklab(65.95% -0.0393 0.125) |
| OKLCH | oklch(65.95% 0.131 107.5) |
| XYZ | xyz(24.8739, 29.2181, 5.8425) |
| Luminance | 0.2922 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.16
Baby Poop Green
#8F9805
ΔE00 3.54
Vomit
#A2A415
ΔE00 4.35
Puke
#A5A502
ΔE00 4.94
Baby Shit Green
#889717
ΔE00 5.03
Pea Soup Green
#94A617
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9722 #22269B
analogous
#9B5B22 #9B9722 #629B22
triadic
#9B9722 #229B97 #97229B
tetradic
#9B9722 #229B5B #22269B #9B2262
square
#9B9722 #229B5B #22269B #9B2262
split-complementary
#9B9722 #22629B #5B229B
monochromatic
#37350C #696617 #9B9722 #CDC82D #DBD75C
Accessibility & contrast
On white
3.07
#9B9722 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#9B9722 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9722
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9722 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9722 | 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)
#A49102
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#A78D81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9b9722; /* rgb */ color: rgb(155, 151, 34); /* oklch */ color: oklch(65.9% 0.131 107.5);
Tailwind
colors: {
custom: {
50: '#bcb568',
500: '#9b9722',
950: '#000000',
},
}SCSS
$custom: #9b9722; $custom-light: #bcb568; $custom-dark: #000000;
JSON
{
"hex": "#9b9722",
"rgb": {
"r": 155,
"g": 151,
"b": 34
},
"hsl": {
"h": 58.017,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.65947,
"c": 0.13099,
"h": 107.5
},
"luminance": 0.29217
}Semantic roles & 50–950 ramp
primary
#9B9722
secondary
#595CC0
accent
#46E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A