#9C8F2D#9C8F2D
#9C8F2D is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.117 H 101.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F2D |
|---|---|
| RGB | rgb(156, 143, 45) |
| HSL | hsl(53, 55%, 39%) |
| HSV | hsv(53, 71%, 61%) |
| CMYK | cmyk(0%, 8.3%, 71.2%, 38.8%) |
| CIE-LAB | lab(58.88, -6.72, 51.31) |
| CIE-LCH | lch(58.88, 51.74, 97.46°) |
| OKLab | oklab(64.33% -0.0235 0.1144) |
| OKLCH | oklch(64.33% 0.117 101.6) |
| XYZ | xyz(24.0075, 26.9033, 6.4104) |
| Luminance | 0.2690 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.32
Baby Shit Brown
#AD900D
ΔE00 5.63
Diarrhea
#9F8303
ΔE00 6.02
Dark Mustard
#A88905
ΔE00 6.04
Brown Yellow
#B29705
ΔE00 6.41
Pea Soup
#929901
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F2D #2D3A9C
analogous
#9C582D #9C8F2D #729C2D
triadic
#9C8F2D #2D9C8F #8F2D9C
tetradic
#9C8F2D #2D9C58 #2D3A9C #9C2D72
square
#9C8F2D #2D9C58 #2D3A9C #9C2D72
split-complementary
#9C8F2D #2D729C #582D9C
monochromatic
#3D3812 #6D631F #9C8F2D #C8B73F #D5C96E
Accessibility & contrast
On white
3.29
#9C8F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#9C8F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F2D
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F2D | 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)
#9C8B1E
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8f2d; /* rgb */ color: rgb(156, 143, 45); /* oklch */ color: oklch(64.3% 0.117 101.6);
Tailwind
colors: {
custom: {
50: '#bcaf6c',
500: '#9c8f2d',
950: '#000000',
},
}SCSS
$custom: #9c8f2d; $custom-light: #bcaf6c; $custom-dark: #000000;
JSON
{
"hex": "#9c8f2d",
"rgb": {
"r": 156,
"g": 143,
"b": 45
},
"hsl": {
"h": 52.973,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.64327,
"c": 0.11675,
"h": 101.6
},
"luminance": 0.26902
}Semantic roles & 50–950 ramp
primary
#9C8F2D
secondary
#6872BC
accent
#5BDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A