#9C8F2A#9C8F2A
#9C8F2A is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.119 H 101.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F2A |
|---|---|
| RGB | rgb(156, 143, 42) |
| HSL | hsl(53, 58%, 39%) |
| HSV | hsv(53, 73%, 61%) |
| CMYK | cmyk(0%, 8.3%, 73.1%, 38.8%) |
| CIE-LAB | lab(58.86, -6.87, 52.48) |
| CIE-LCH | lch(58.86, 52.93, 97.46°) |
| OKLab | oklab(64.3% -0.0243 0.1163) |
| OKLCH | oklch(64.3% 0.119 101.8) |
| XYZ | xyz(23.9518, 26.8811, 6.1170) |
| Luminance | 0.2688 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.13
Baby Shit Brown
#AD900D
ΔE00 5.48
Diarrhea
#9F8303
ΔE00 5.91
Dark Mustard
#A88905
ΔE00 5.91
Brown Yellow
#B29705
ΔE00 6.23
Pea Soup
#929901
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F2A #2A379C
analogous
#9C562A #9C8F2A #709C2A
triadic
#9C8F2A #2A9C8F #8F2A9C
tetradic
#9C8F2A #2A9C56 #2A379C #9C2A70
square
#9C8F2A #2A9C56 #2A379C #9C2A70
split-complementary
#9C8F2A #2A709C #562A9C
monochromatic
#3C3710 #6C631D #9C8F2A #CAB939 #D7CA6A
Accessibility & contrast
On white
3.29
#9C8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#9C8F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F2A
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F2A | 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)
#9D8B19
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8f2a; /* rgb */ color: rgb(156, 143, 42); /* oklch */ color: oklch(64.3% 0.119 101.8);
Tailwind
colors: {
custom: {
50: '#bdaf6b',
500: '#9c8f2a',
950: '#000000',
},
}SCSS
$custom: #9c8f2a; $custom-light: #bdaf6b; $custom-dark: #000000;
JSON
{
"hex": "#9c8f2a",
"rgb": {
"r": 156,
"g": 143,
"b": 42
},
"hsl": {
"h": 53.158,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.64304,
"c": 0.11878,
"h": 101.8
},
"luminance": 0.2688
}Semantic roles & 50–950 ramp
primary
#9C8F2A
secondary
#656FBD
accent
#59E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A