#9C8E3E#9C8E3E
#9C8E3E is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.102 H 99.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8E3E |
|---|---|
| RGB | rgb(156, 142, 62) |
| HSL | hsl(51, 43%, 43%) |
| HSV | hsv(51, 60%, 61%) |
| CMYK | cmyk(0%, 9%, 60.3%, 38.8%) |
| CIE-LAB | lab(58.75, -5.08, 43.59) |
| CIE-LCH | lch(58.75, 43.89, 96.64°) |
| OKLab | oklab(64.27% -0.0168 0.1007) |
| OKLCH | oklch(64.27% 0.102 99.5) |
| XYZ | xyz(24.2537, 26.7627, 8.4447) |
| Luminance | 0.2676 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.16
Dark Sand
#A88F59
ΔE00 6.78
Baby Poo
#AB9004
ΔE00 6.84
Diarrhea
#9F8303
ΔE00 6.88
Baby Shit Brown
#AD900D
ΔE00 6.91
Dark Mustard
#A88905
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8E3E #3E4C9C
analogous
#9C5F3E #9C8E3E #7B9C3E
triadic
#9C8E3E #3E9C8E #8E3E9C
tetradic
#9C8E3E #3E9C5F #3E4C9C #9C3E7B
square
#9C8E3E #3E9C5F #3E4C9C #9C3E7B
split-complementary
#9C8E3E #3E7B9C #5F3E9C
monochromatic
#443E1B #70662D #9C8E3E #BDAF5A #CFC486
Accessibility & contrast
On white
3.31
#9C8E3E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#9C8E3E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8E3E
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8E3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8E3E | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8A36
Deuteranopia (green-blind)
#9E9042
Tritanopia (blue-blind)
#A7857C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c8e3e; /* rgb */ color: rgb(156, 142, 62); /* oklch */ color: oklch(64.3% 0.102 99.5);
Tailwind
colors: {
custom: {
50: '#bcae76',
500: '#9c8e3e',
950: '#000000',
},
}SCSS
$custom: #9c8e3e; $custom-light: #bcae76; $custom-dark: #000000;
JSON
{
"hex": "#9c8e3e",
"rgb": {
"r": 156,
"g": 142,
"b": 62
},
"hsl": {
"h": 51.064,
"s": 43.119,
"l": 42.745
},
"oklch": {
"l": 0.6427,
"c": 0.1021,
"h": 99.5
},
"luminance": 0.26762
}Semantic roles & 50–950 ramp
primary
#9C8E3E
secondary
#7D86B9
accent
#68D355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B