#9C8B3F#9C8B3F
#9C8B3F is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.099 H 96.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8B3F |
|---|---|
| RGB | rgb(156, 139, 63) |
| HSL | hsl(49, 42%, 43%) |
| HSV | hsv(49, 60%, 61%) |
| CMYK | cmyk(0%, 10.9%, 59.6%, 38.8%) |
| CIE-LAB | lab(57.94, -3.36, 42.19) |
| CIE-LCH | lch(57.94, 42.32, 94.55°) |
| OKLab | oklab(63.63% -0.0117 0.0978) |
| OKLCH | oklch(63.63% 0.099 96.8) |
| XYZ | xyz(23.8411, 25.8931, 8.4437) |
| Luminance | 0.2589 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.96
Dark Sand
#A88F59
ΔE00 5.93
Diarrhea
#9F8303
ΔE00 6.39
Dark Mustard
#A88905
ΔE00 6.74
Baby Shit Brown
#AD900D
ΔE00 7.01
Baby Poo
#AB9004
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8B3F #3F509C
analogous
#9C5C3F #9C8B3F #7E9C3F
triadic
#9C8B3F #3F9C8B #8B3F9C
tetradic
#9C8B3F #3F9C5C #3F509C #9C3F7E
square
#9C8B3F #3F9C5C #3F509C #9C3F7E
split-complementary
#9C8B3F #3F7E9C #5C3F9C
monochromatic
#453D1C #70642D #9C8B3F #BDAB5B #CEC187
Accessibility & contrast
On white
3.40
#9C8B3F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#9C8B3F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8B3F
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8B3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8B3F | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988837
Deuteranopia (green-blind)
#9C8E43
Tritanopia (blue-blind)
#A7827A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8b3f; /* rgb */ color: rgb(156, 139, 63); /* oklch */ color: oklch(63.6% 0.099 96.8);
Tailwind
colors: {
custom: {
50: '#bcac77',
500: '#9c8b3f',
950: '#000000',
},
}SCSS
$custom: #9c8b3f; $custom-light: #bcac77; $custom-dark: #000000;
JSON
{
"hex": "#9c8b3f",
"rgb": {
"r": 156,
"g": 139,
"b": 63
},
"hsl": {
"h": 49.032,
"s": 42.466,
"l": 42.941
},
"oklch": {
"l": 0.63625,
"c": 0.09852,
"h": 96.8
},
"luminance": 0.25892
}Semantic roles & 50–950 ramp
primary
#9C8B3F
secondary
#7E89B9
accent
#6CD256
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B