#9C8A3D#9C8A3D
#9C8A3D is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.100 H 96.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A3D |
|---|---|
| RGB | rgb(156, 138, 61) |
| HSL | hsl(49, 44%, 43%) |
| HSV | hsv(49, 61%, 61%) |
| CMYK | cmyk(0%, 11.5%, 60.9%, 38.8%) |
| CIE-LAB | lab(57.64, -2.96, 42.83) |
| CIE-LCH | lch(57.64, 42.93, 93.95°) |
| OKLab | oklab(63.38% -0.0108 0.0989) |
| OKLCH | oklch(63.38% 0.1 96.3) |
| XYZ | xyz(23.6421, 25.5829, 8.1067) |
| Luminance | 0.2558 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.32
Diarrhea
#9F8303
ΔE00 5.99
Dark Sand
#A88F59
ΔE00 6.00
Dark Mustard
#A88905
ΔE00 6.42
Baby Poop
#937C00
ΔE00 6.80
Baby Shit Brown
#AD900D
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A3D #3D4F9C
analogous
#9C5B3D #9C8A3D #7E9C3D
triadic
#9C8A3D #3D9C8A #8A3D9C
tetradic
#9C8A3D #3D9C5B #3D4F9C #9C3D7E
square
#9C8A3D #3D9C5B #3D4F9C #9C3D7E
split-complementary
#9C8A3D #3D7E9C #5B3D9C
monochromatic
#443C1B #70632C #9C8A3D #BEAB58 #CFC184
Accessibility & contrast
On white
3.43
#9C8A3D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#9C8A3D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A3D
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A3D | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978735
Deuteranopia (green-blind)
#9C8D41
Tritanopia (blue-blind)
#A88079
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a3d; /* rgb */ color: rgb(156, 138, 61); /* oklch */ color: oklch(63.4% 0.100 96.3);
Tailwind
colors: {
custom: {
50: '#bcab75',
500: '#9c8a3d',
950: '#000000',
},
}SCSS
$custom: #9c8a3d; $custom-light: #bcab75; $custom-dark: #000000;
JSON
{
"hex": "#9c8a3d",
"rgb": {
"r": 156,
"g": 138,
"b": 61
},
"hsl": {
"h": 48.632,
"s": 43.779,
"l": 42.549
},
"oklch": {
"l": 0.63384,
"c": 0.09952,
"h": 96.3
},
"luminance": 0.25582
}Semantic roles & 50–950 ramp
primary
#9C8A3D
secondary
#7C87B9
accent
#6CD454
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B