#9C8A2D#9C8A2D
#9C8A2D is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.113 H 98.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A2D |
|---|---|
| RGB | rgb(156, 138, 45) |
| HSL | hsl(50, 55%, 39%) |
| HSV | hsv(50, 71%, 61%) |
| CMYK | cmyk(0%, 11.5%, 71.2%, 38.8%) |
| CIE-LAB | lab(57.50, -3.99, 49.92) |
| CIE-LCH | lch(57.50, 50.08, 94.57°) |
| OKLab | oklab(63.23% -0.0157 0.1114) |
| OKLCH | oklch(63.23% 0.113 98) |
| XYZ | xyz(23.2735, 25.4355, 6.1658) |
| Luminance | 0.2543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.41
Dark Mustard
#A88905
ΔE00 4.88
Baby Poo
#AB9004
ΔE00 5.12
Baby Shit Brown
#AD900D
ΔE00 5.26
Baby Poop
#937C00
ΔE00 5.52
Yellowy Brown
#AE8B0C
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A2D #2D3F9C
analogous
#9C522D #9C8A2D #779C2D
triadic
#9C8A2D #2D9C8A #8A2D9C
tetradic
#9C8A2D #2D9C52 #2D3F9C #9C2D77
square
#9C8A2D #2D9C52 #2D3F9C #9C2D77
split-complementary
#9C8A2D #2D779C #522D9C
monochromatic
#3D3612 #6D601F #9C8A2D #C8B13F #D5C56E
Accessibility & contrast
On white
3.45
#9C8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#9C8A2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A2D
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A2D | 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)
#988720
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#A88077
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a2d; /* rgb */ color: rgb(156, 138, 45); /* oklch */ color: oklch(63.2% 0.113 98.0);
Tailwind
colors: {
custom: {
50: '#bdab6c',
500: '#9c8a2d',
950: '#000000',
},
}SCSS
$custom: #9c8a2d; $custom-light: #bdab6c; $custom-dark: #000000;
JSON
{
"hex": "#9c8a2d",
"rgb": {
"r": 156,
"g": 138,
"b": 45
},
"hsl": {
"h": 50.27,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.63226,
"c": 0.11253,
"h": 98
},
"luminance": 0.25434
}Semantic roles & 50–950 ramp
primary
#9C8A2D
secondary
#6876BC
accent
#61DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A