#9C8B31#9C8B31
#9C8B31 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.110 H 98.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8B31 |
|---|---|
| RGB | rgb(156, 139, 49) |
| HSL | hsl(50, 52%, 40%) |
| HSV | hsv(50, 69%, 61%) |
| CMYK | cmyk(0%, 10.9%, 68.6%, 38.8%) |
| CIE-LAB | lab(57.80, -4.31, 48.53) |
| CIE-LCH | lch(57.80, 48.72, 95.08°) |
| OKLab | oklab(63.48% -0.0162 0.1092) |
| OKLCH | oklch(63.48% 0.11 98.4) |
| XYZ | xyz(23.4984, 25.7560, 6.6388) |
| Luminance | 0.2576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.97
Dark Mustard
#A88905
ΔE00 5.34
Baby Poo
#AB9004
ΔE00 5.44
Baby Shit Brown
#AD900D
ΔE00 5.57
Dark Khaki
#9B8F55
ΔE00 5.90
Baby Poop
#937C00
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8B31 #31429C
analogous
#9C5531 #9C8B31 #789C31
triadic
#9C8B31 #319C8B #8B319C
tetradic
#9C8B31 #319C55 #31429C #9C3178
square
#9C8B31 #319C55 #31429C #9C3178
split-complementary
#9C8B31 #31789C #55319C
monochromatic
#3F3814 #6D6222 #9C8B31 #C5B145 #D3C474
Accessibility & contrast
On white
3.41
#9C8B31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#9C8B31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8B31
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8B31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8B31 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988725
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#A88178
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8b31; /* rgb */ color: rgb(156, 139, 49); /* oklch */ color: oklch(63.5% 0.110 98.4);
Tailwind
colors: {
custom: {
50: '#bcac6e',
500: '#9c8b31',
950: '#000000',
},
}SCSS
$custom: #9c8b31; $custom-light: #bcac6e; $custom-dark: #000000;
JSON
{
"hex": "#9c8b31",
"rgb": {
"r": 156,
"g": 139,
"b": 49
},
"hsl": {
"h": 50.467,
"s": 52.195,
"l": 40.196
},
"oklch": {
"l": 0.6348,
"c": 0.11041,
"h": 98.4
},
"luminance": 0.25755
}Semantic roles & 50–950 ramp
primary
#9C8B31
secondary
#6D7ABB
accent
#63DC4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A