#9B882F#9B882F
#9B882F is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.109 H 97.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9B882F |
|---|---|
| RGB | rgb(155, 136, 47) |
| HSL | hsl(49, 53%, 40%) |
| HSV | hsv(49, 70%, 61%) |
| CMYK | cmyk(0%, 12.3%, 69.7%, 39.2%) |
| CIE-LAB | lab(56.86, -3.23, 48.40) |
| CIE-LCH | lch(56.86, 48.50, 93.82°) |
| OKLab | oklab(62.71% -0.0133 0.1086) |
| OKLCH | oklch(62.71% 0.109 97) |
| XYZ | xyz(22.8359, 24.7833, 6.2696) |
| Luminance | 0.2478 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.28
Dark Mustard
#A88905
ΔE00 5.03
Baby Poop
#937C00
ΔE00 5.14
Baby Poo
#AB9004
ΔE00 5.65
Baby Shit Brown
#AD900D
ΔE00 5.72
Yellowy Brown
#AE8B0C
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B882F #2F429B
analogous
#9B522F #9B882F #789B2F
triadic
#9B882F #2F9B88 #882F9B
tetradic
#9B882F #2F9B52 #2F429B #9B2F78
square
#9B882F #2F9B52 #2F429B #9B2F78
split-complementary
#9B882F #2F789B #522F9B
monochromatic
#3D3613 #6C5F21 #9B882F #C6AE42 #D4C271
Accessibility & contrast
On white
3.53
#9B882F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#9B882F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B882F
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B882F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B882F | 1.00 | 3.53 | 5.96 | 5.96 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968523
Deuteranopia (green-blind)
#9B8B34
Tritanopia (blue-blind)
#A77E76
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9b882f; /* rgb */ color: rgb(155, 136, 47); /* oklch */ color: oklch(62.7% 0.109 97.0);
Tailwind
colors: {
custom: {
50: '#bcaa6d',
500: '#9b882f',
950: '#000000',
},
}SCSS
$custom: #9b882f; $custom-light: #bcaa6d; $custom-dark: #000000;
JSON
{
"hex": "#9b882f",
"rgb": {
"r": 155,
"g": 136,
"b": 47
},
"hsl": {
"h": 49.444,
"s": 53.465,
"l": 39.608
},
"oklch": {
"l": 0.62706,
"c": 0.10941,
"h": 97
},
"luminance": 0.24782
}Semantic roles & 50–950 ramp
primary
#9B882F
secondary
#6A79BB
accent
#65DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A