#9C8F2F#9C8F2F
#9C8F2F is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.115 H 101.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F2F |
|---|---|
| RGB | rgb(156, 143, 47) |
| HSL | hsl(53, 54%, 40%) |
| HSV | hsv(53, 70%, 61%) |
| CMYK | cmyk(0%, 8.3%, 69.9%, 38.8%) |
| CIE-LAB | lab(58.90, -6.61, 50.50) |
| CIE-LCH | lch(58.90, 50.93, 97.45°) |
| OKLab | oklab(64.34% -0.023 0.113) |
| OKLCH | oklch(64.34% 0.115 101.5) |
| XYZ | xyz(24.0469, 26.9191, 6.6180) |
| Luminance | 0.2692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.46
Baby Shit Brown
#AD900D
ΔE00 5.75
Diarrhea
#9F8303
ΔE00 6.11
Dark Mustard
#A88905
ΔE00 6.14
Dark Khaki
#9B8F55
ΔE00 6.37
Brown Yellow
#B29705
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F2F #2F3C9C
analogous
#9C592F #9C8F2F #739C2F
triadic
#9C8F2F #2F9C8F #8F2F9C
tetradic
#9C8F2F #2F9C59 #2F3C9C #9C2F73
square
#9C8F2F #2F9C59 #2F3C9C #9C2F73
split-complementary
#9C8F2F #2F739C #592F9C
monochromatic
#3E3913 #6D6421 #9C8F2F #C6B642 #D4C871
Accessibility & contrast
On white
3.29
#9C8F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#9C8F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F2F
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F2F | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8B21
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#A8857C
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8f2f; /* rgb */ color: rgb(156, 143, 47); /* oklch */ color: oklch(64.3% 0.115 101.5);
Tailwind
colors: {
custom: {
50: '#bcaf6d',
500: '#9c8f2f',
950: '#000000',
},
}SCSS
$custom: #9c8f2f; $custom-light: #bcaf6d; $custom-dark: #000000;
JSON
{
"hex": "#9c8f2f",
"rgb": {
"r": 156,
"g": 143,
"b": 47
},
"hsl": {
"h": 52.844,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.64343,
"c": 0.11533,
"h": 101.5
},
"luminance": 0.26918
}Semantic roles & 50–950 ramp
primary
#9C8F2F
secondary
#6B75BC
accent
#5CDD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A