#9C8A42#9C8A42
#9C8A42 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.095 H 95.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A42 |
|---|---|
| RGB | rgb(156, 138, 66) |
| HSL | hsl(48, 41%, 44%) |
| HSV | hsv(48, 58%, 61%) |
| CMYK | cmyk(0%, 11.5%, 57.7%, 38.8%) |
| CIE-LAB | lab(57.69, -2.57, 40.42) |
| CIE-LCH | lch(57.69, 40.51, 93.63°) |
| OKLab | oklab(63.44% -0.0091 0.0944) |
| OKLCH | oklch(63.44% 0.095 95.5) |
| XYZ | xyz(23.7831, 25.6393, 8.8493) |
| Luminance | 0.2564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.64
Dark Sand
#A88F59
ΔE00 5.32
Diarrhea
#9F8303
ΔE00 6.66
Dark Beige
#AC9362
ΔE00 6.99
Dark Mustard
#A88905
ΔE00 7.07
Baby Poop
#937C00
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A42 #42549C
analogous
#9C5D42 #9C8A42 #819C42
triadic
#9C8A42 #429C8A #8A429C
tetradic
#9C8A42 #429C5D #42549C #9C4281
square
#9C8A42 #429C5D #42549C #9C4281
split-complementary
#9C8A42 #42819C #5D429C
monochromatic
#463E1E #716430 #9C8A42 #BCA960 #CEC08B
Accessibility & contrast
On white
3.43
#9C8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#9C8A42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A42
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A42 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96873B
Deuteranopia (green-blind)
#9B8D45
Tritanopia (blue-blind)
#A7817A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8a42; /* rgb */ color: rgb(156, 138, 66); /* oklch */ color: oklch(63.4% 0.095 95.5);
Tailwind
colors: {
custom: {
50: '#bbab79',
500: '#9c8a42',
950: '#000000',
},
}SCSS
$custom: #9c8a42; $custom-light: #bbab79; $custom-dark: #000000;
JSON
{
"hex": "#9c8a42",
"rgb": {
"r": 156,
"g": 138,
"b": 66
},
"hsl": {
"h": 48,
"s": 40.541,
"l": 43.529
},
"oklch": {
"l": 0.63444,
"c": 0.09483,
"h": 95.5
},
"luminance": 0.25638
}Semantic roles & 50–950 ramp
primary
#9C8A42
secondary
#818CB9
accent
#70D057
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B