#9B9622#9B9622
#9B9622 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.130 H 106.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9622 |
|---|---|
| RGB | rgb(155, 150, 34) |
| HSL | hsl(58, 64%, 37%) |
| HSV | hsv(58, 78%, 61%) |
| CMYK | cmyk(0%, 3.2%, 78.1%, 39.2%) |
| CIE-LAB | lab(60.69, -11.43, 57.02) |
| CIE-LCH | lch(60.69, 58.16, 101.34°) |
| OKLab | oklab(65.72% -0.0378 0.1244) |
| OKLCH | oklch(65.72% 0.13 106.9) |
| XYZ | xyz(24.7137, 28.8976, 5.7891) |
| Luminance | 0.2890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.44
Baby Poop Green
#8F9805
ΔE00 3.80
Vomit
#A2A415
ΔE00 4.69
Puke
#A5A502
ΔE00 5.25
Baby Shit Green
#889717
ΔE00 5.26
Baby Poo
#AB9004
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9622 #22279B
analogous
#9B5A22 #9B9622 #639B22
triadic
#9B9622 #229B96 #96229B
tetradic
#9B9622 #229B5A #22279B #9B2263
square
#9B9622 #229B5A #22279B #9B2263
split-complementary
#9B9622 #22639B #5A229B
monochromatic
#37350C #696517 #9B9622 #CDC72D #DBD65C
Accessibility & contrast
On white
3.10
#9B9622 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#9B9622 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9622
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9622 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9622 | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39003
Deuteranopia (green-blind)
#A6942C
Tritanopia (blue-blind)
#A78C80
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9b9622; /* rgb */ color: rgb(155, 150, 34); /* oklch */ color: oklch(65.7% 0.130 106.9);
Tailwind
colors: {
custom: {
50: '#bcb468',
500: '#9b9622',
950: '#000000',
},
}SCSS
$custom: #9b9622; $custom-light: #bcb468; $custom-dark: #000000;
JSON
{
"hex": "#9b9622",
"rgb": {
"r": 155,
"g": 150,
"b": 34
},
"hsl": {
"h": 57.521,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.65721,
"c": 0.13003,
"h": 106.9
},
"luminance": 0.28897
}Semantic roles & 50–950 ramp
primary
#9B9622
secondary
#595DC0
accent
#48E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A