#9B881E#9B881E
#9B881E is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.6% C 0.120 H 98.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9B881E |
|---|---|
| RGB | rgb(155, 136, 30) |
| HSL | hsl(51, 68%, 36%) |
| HSV | hsv(51, 81%, 61%) |
| CMYK | cmyk(0%, 12.3%, 80.6%, 39.2%) |
| CIE-LAB | lab(56.75, -4.03, 54.78) |
| CIE-LCH | lch(56.75, 54.92, 94.21°) |
| OKLab | oklab(62.59% -0.0174 0.1188) |
| OKLCH | oklch(62.59% 0.12 98.3) |
| XYZ | xyz(22.5573, 24.6718, 4.8020) |
| Luminance | 0.2467 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.24
Dark Mustard
#A88905
ΔE00 4.06
Baby Poop
#937C00
ΔE00 4.40
Baby Poo
#AB9004
ΔE00 4.52
Baby Shit Brown
#AD900D
ΔE00 4.78
Yellowy Brown
#AE8B0C
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B881E #1E319B
analogous
#9B4A1E #9B881E #709B1E
triadic
#9B881E #1E9B88 #881E9B
tetradic
#9B881E #1E9B4A #1E319B #9B1E70
square
#9B881E #1E9B4A #1E319B #9B1E70
split-complementary
#9B881E #1E709B #4A1E9B
monochromatic
#342E0A #685B14 #9B881E #CEB528 #DEC955
Accessibility & contrast
On white
3.54
#9B881E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#9B881E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B881E
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B881E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B881E | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#A87D74
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9b881e; /* rgb */ color: rgb(155, 136, 30); /* oklch */ color: oklch(62.6% 0.120 98.3);
Tailwind
colors: {
custom: {
50: '#bcaa64',
500: '#9b881e',
950: '#000000',
},
}SCSS
$custom: #9b881e; $custom-light: #bcaa64; $custom-dark: #000000;
JSON
{
"hex": "#9b881e",
"rgb": {
"r": 155,
"g": 136,
"b": 30
},
"hsl": {
"h": 50.88,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.62585,
"c": 0.12006,
"h": 98.3
},
"luminance": 0.24671
}Semantic roles & 50–950 ramp
primary
#9B881E
secondary
#5364C2
accent
#58EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A