#9B8722#9B8722
#9B8722 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.117 H 97.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8722 |
|---|---|
| RGB | rgb(155, 135, 34) |
| HSL | hsl(50, 64%, 37%) |
| HSV | hsv(50, 78%, 61%) |
| CMYK | cmyk(0%, 12.9%, 78.1%, 39.2%) |
| CIE-LAB | lab(56.50, -3.32, 53.18) |
| CIE-LCH | lch(56.50, 53.28, 93.58°) |
| OKLab | oklab(62.39% -0.015 0.1162) |
| OKLCH | oklch(62.39% 0.117 97.4) |
| XYZ | xyz(22.4714, 24.4132, 5.0417) |
| Luminance | 0.2441 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.09
Dark Mustard
#A88905
ΔE00 4.08
Baby Poop
#937C00
ΔE00 4.18
Baby Poo
#AB9004
ΔE00 4.82
Baby Shit Brown
#AD900D
ΔE00 5.00
Yellowy Brown
#AE8B0C
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8722 #22369B
analogous
#9B4B22 #9B8722 #729B22
triadic
#9B8722 #229B87 #87229B
tetradic
#9B8722 #229B4B #22369B #9B2272
square
#9B8722 #229B4B #22369B #9B2272
split-complementary
#9B8722 #22729B #4B229B
monochromatic
#37300C #695B17 #9B8722 #CDB32D #DBC65C
Accessibility & contrast
On white
3.57
#9B8722 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#9B8722 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8722
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8722 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8722 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95840D
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#A87C74
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9b8722; /* rgb */ color: rgb(155, 135, 34); /* oklch */ color: oklch(62.4% 0.117 97.4);
Tailwind
colors: {
custom: {
50: '#bca966',
500: '#9b8722',
950: '#000000',
},
}SCSS
$custom: #9b8722; $custom-light: #bca966; $custom-dark: #000000;
JSON
{
"hex": "#9b8722",
"rgb": {
"r": 155,
"g": 135,
"b": 34
},
"hsl": {
"h": 50.083,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.6239,
"c": 0.11717,
"h": 97.4
},
"luminance": 0.24412
}Semantic roles & 50–950 ramp
primary
#9B8722
secondary
#596AC0
accent
#5CE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A