#9B8922#9B8922
#9B8922 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.119 H 98.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8922 |
|---|---|
| RGB | rgb(155, 137, 34) |
| HSL | hsl(51, 64%, 37%) |
| HSV | hsv(51, 78%, 61%) |
| CMYK | cmyk(0%, 11.6%, 78.1%, 39.2%) |
| CIE-LAB | lab(57.05, -4.42, 53.69) |
| CIE-LCH | lch(57.05, 53.87, 94.71°) |
| OKLab | oklab(62.83% -0.0181 0.1173) |
| OKLCH | oklch(62.83% 0.119 98.8) |
| XYZ | xyz(22.7531, 24.9765, 5.1355) |
| Luminance | 0.2497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.72
Dark Mustard
#A88905
ΔE00 4.38
Baby Poo
#AB9004
ΔE00 4.64
Baby Poop
#937C00
ΔE00 4.83
Baby Shit Brown
#AD900D
ΔE00 4.90
Yellowy Brown
#AE8B0C
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8922 #22349B
analogous
#9B4C22 #9B8922 #719B22
triadic
#9B8922 #229B89 #89229B
tetradic
#9B8922 #229B4C #22349B #9B2271
square
#9B8922 #229B4C #22349B #9B2271
split-complementary
#9B8922 #22719B #4C229B
monochromatic
#37300C #695D17 #9B8922 #CDB52D #DBC85C
Accessibility & contrast
On white
3.50
#9B8922 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#9B8922 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8922
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8922 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97850C
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#A87E75
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9b8922; /* rgb */ color: rgb(155, 137, 34); /* oklch */ color: oklch(62.8% 0.119 98.8);
Tailwind
colors: {
custom: {
50: '#bcab66',
500: '#9b8922',
950: '#000000',
},
}SCSS
$custom: #9b8922; $custom-light: #bcab66; $custom-dark: #000000;
JSON
{
"hex": "#9b8922",
"rgb": {
"r": 155,
"g": 137,
"b": 34
},
"hsl": {
"h": 51.074,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.62828,
"c": 0.11869,
"h": 98.8
},
"luminance": 0.24975
}Semantic roles & 50–950 ramp
primary
#9B8922
secondary
#5968C0
accent
#5AE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A