#9C8E2F#9C8E2F
#9C8E2F is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.114 H 100.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8E2F |
|---|---|
| RGB | rgb(156, 142, 47) |
| HSL | hsl(52, 54%, 40%) |
| HSV | hsv(52, 70%, 61%) |
| CMYK | cmyk(0%, 9%, 69.9%, 38.8%) |
| CIE-LAB | lab(58.62, -6.06, 50.22) |
| CIE-LCH | lch(58.62, 50.58, 96.89°) |
| OKLab | oklab(64.12% -0.0214 0.1124) |
| OKLCH | oklch(64.12% 0.114 100.8) |
| XYZ | xyz(23.8974, 26.6202, 6.5682) |
| Luminance | 0.2662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.36
Baby Shit Brown
#AD900D
ΔE00 5.61
Diarrhea
#9F8303
ΔE00 5.77
Dark Mustard
#A88905
ΔE00 5.87
Dark Khaki
#9B8F55
ΔE00 6.27
Brown Yellow
#B29705
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8E2F #2F3D9C
analogous
#9C582F #9C8E2F #739C2F
triadic
#9C8E2F #2F9C8E #8E2F9C
tetradic
#9C8E2F #2F9C58 #2F3D9C #9C2F73
square
#9C8E2F #2F9C58 #2F3D9C #9C2F73
split-complementary
#9C8E2F #2F739C #582F9C
monochromatic
#3E3813 #6D6321 #9C8E2F #C6B542 #D4C871
Accessibility & contrast
On white
3.32
#9C8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#9C8E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8E2F
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8E2F | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8A21
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c8e2f; /* rgb */ color: rgb(156, 142, 47); /* oklch */ color: oklch(64.1% 0.114 100.8);
Tailwind
colors: {
custom: {
50: '#bcae6d',
500: '#9c8e2f',
950: '#000000',
},
}SCSS
$custom: #9c8e2f; $custom-light: #bcae6d; $custom-dark: #000000;
JSON
{
"hex": "#9c8e2f",
"rgb": {
"r": 156,
"g": 142,
"b": 47
},
"hsl": {
"h": 52.294,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.64122,
"c": 0.11444,
"h": 100.8
},
"luminance": 0.26619
}Semantic roles & 50–950 ramp
primary
#9C8E2F
secondary
#6B75BC
accent
#5EDD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A