#9C8E2D#9C8E2D
#9C8E2D is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.116 H 100.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8E2D |
|---|---|
| RGB | rgb(156, 142, 45) |
| HSL | hsl(52, 55%, 39%) |
| HSV | hsv(52, 71%, 61%) |
| CMYK | cmyk(0%, 9%, 71.2%, 38.8%) |
| CIE-LAB | lab(58.61, -6.17, 51.03) |
| CIE-LCH | lch(58.61, 51.40, 96.90°) |
| OKLab | oklab(64.11% -0.022 0.1138) |
| OKLCH | oklch(64.11% 0.116 100.9) |
| XYZ | xyz(23.8580, 26.6044, 6.3606) |
| Luminance | 0.2660 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.21
Baby Shit Brown
#AD900D
ΔE00 5.49
Diarrhea
#9F8303
ΔE00 5.67
Dark Mustard
#A88905
ΔE00 5.76
Brown Yellow
#B29705
ΔE00 6.43
Dark Khaki
#9B8F55
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8E2D #2D3B9C
analogous
#9C562D #9C8E2D #739C2D
triadic
#9C8E2D #2D9C8E #8E2D9C
tetradic
#9C8E2D #2D9C56 #2D3B9C #9C2D73
square
#9C8E2D #2D9C56 #2D3B9C #9C2D73
split-complementary
#9C8E2D #2D739C #562D9C
monochromatic
#3D3812 #6D631F #9C8E2D #C8B63F #D5C86E
Accessibility & contrast
On white
3.32
#9C8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#9C8E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8E2D
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8E2D | 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)
#9B8A1E
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c8e2d; /* rgb */ color: rgb(156, 142, 45); /* oklch */ color: oklch(64.1% 0.116 100.9);
Tailwind
colors: {
custom: {
50: '#bcae6c',
500: '#9c8e2d',
950: '#000000',
},
}SCSS
$custom: #9c8e2d; $custom-light: #bcae6c; $custom-dark: #000000;
JSON
{
"hex": "#9c8e2d",
"rgb": {
"r": 156,
"g": 142,
"b": 45
},
"hsl": {
"h": 52.432,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.64106,
"c": 0.11587,
"h": 100.9
},
"luminance": 0.26603
}Semantic roles & 50–950 ramp
primary
#9C8E2D
secondary
#6873BC
accent
#5CDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A