#9C8A3A#9C8A3A
#9C8A3A is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.3% C 0.102 H 96.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A3A |
|---|---|
| RGB | rgb(156, 138, 58) |
| HSL | hsl(49, 46%, 42%) |
| HSV | hsv(49, 63%, 61%) |
| CMYK | cmyk(0%, 11.5%, 62.8%, 38.8%) |
| CIE-LAB | lab(57.61, -3.18, 44.23) |
| CIE-LCH | lch(57.61, 44.34, 94.11°) |
| OKLab | oklab(63.35% -0.0118 0.1015) |
| OKLCH | oklch(63.35% 0.102 96.7) |
| XYZ | xyz(23.5635, 25.5515, 7.6929) |
| Luminance | 0.2555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.74
Diarrhea
#9F8303
ΔE00 5.63
Dark Mustard
#A88905
ΔE00 6.07
Dark Sand
#A88F59
ΔE00 6.40
Baby Shit Brown
#AD900D
ΔE00 6.47
Baby Poo
#AB9004
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A3A #3A4C9C
analogous
#9C593A #9C8A3A #7D9C3A
triadic
#9C8A3A #3A9C8A #8A3A9C
tetradic
#9C8A3A #3A9C59 #3A4C9C #9C3A7D
square
#9C8A3A #3A9C59 #3A4C9C #9C3A7D
split-complementary
#9C8A3A #3A7D9C #593A9C
monochromatic
#433B19 #6F6329 #9C8A3A #BFAC54 #D0C180
Accessibility & contrast
On white
3.44
#9C8A3A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#9C8A3A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A3A
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A3A | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978731
Deuteranopia (green-blind)
#9C8D3E
Tritanopia (blue-blind)
#A88079
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a3a; /* rgb */ color: rgb(156, 138, 58); /* oklch */ color: oklch(63.3% 0.102 96.7);
Tailwind
colors: {
custom: {
50: '#bcab73',
500: '#9c8a3a',
950: '#000000',
},
}SCSS
$custom: #9c8a3a; $custom-light: #bcab73; $custom-dark: #000000;
JSON
{
"hex": "#9c8a3a",
"rgb": {
"r": 156,
"g": 138,
"b": 58
},
"hsl": {
"h": 48.98,
"s": 45.794,
"l": 41.961
},
"oklch": {
"l": 0.6335,
"c": 0.1022,
"h": 96.7
},
"luminance": 0.2555
}Semantic roles & 50–950 ramp
primary
#9C8A3A
secondary
#7884BA
accent
#6AD552
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B