#9C8A2F#9C8A2F
#9C8A2F is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.111 H 97.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A2F |
|---|---|
| RGB | rgb(156, 138, 47) |
| HSL | hsl(50, 54%, 40%) |
| HSV | hsv(50, 70%, 61%) |
| CMYK | cmyk(0%, 11.5%, 69.9%, 38.8%) |
| CIE-LAB | lab(57.51, -3.88, 49.09) |
| CIE-LCH | lch(57.51, 49.24, 94.52°) |
| OKLab | oklab(63.24% -0.0152 0.11) |
| OKLCH | oklch(63.24% 0.111 97.9) |
| XYZ | xyz(23.3130, 25.4513, 6.3734) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.56
Dark Mustard
#A88905
ΔE00 5.02
Baby Poo
#AB9004
ΔE00 5.30
Baby Shit Brown
#AD900D
ΔE00 5.41
Baby Poop
#937C00
ΔE00 5.63
Yellowy Brown
#AE8B0C
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A2F #2F419C
analogous
#9C542F #9C8A2F #779C2F
triadic
#9C8A2F #2F9C8A #8A2F9C
tetradic
#9C8A2F #2F9C54 #2F419C #9C2F77
square
#9C8A2F #2F9C54 #2F419C #9C2F77
split-complementary
#9C8A2F #2F779C #542F9C
monochromatic
#3E3713 #6D6021 #9C8A2F #C6B042 #D4C471
Accessibility & contrast
On white
3.45
#9C8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#9C8A2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A2F
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A2F | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988722
Deuteranopia (green-blind)
#9C8D34
Tritanopia (blue-blind)
#A88077
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a2f; /* rgb */ color: rgb(156, 138, 47); /* oklch */ color: oklch(63.2% 0.111 97.9);
Tailwind
colors: {
custom: {
50: '#bcab6d',
500: '#9c8a2f',
950: '#000000',
},
}SCSS
$custom: #9c8a2f; $custom-light: #bcab6d; $custom-dark: #000000;
JSON
{
"hex": "#9c8a2f",
"rgb": {
"r": 156,
"g": 138,
"b": 47
},
"hsl": {
"h": 50.092,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.63243,
"c": 0.11108,
"h": 97.9
},
"luminance": 0.2545
}Semantic roles & 50–950 ramp
primary
#9C8A2F
secondary
#6B78BC
accent
#63DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A