#9C8A2B#9C8A2B
#9C8A2B is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.114 H 98.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A2B |
|---|---|
| RGB | rgb(156, 138, 43) |
| HSL | hsl(50, 57%, 39%) |
| HSV | hsv(50, 72%, 61%) |
| CMYK | cmyk(0%, 11.5%, 72.4%, 38.8%) |
| CIE-LAB | lab(57.48, -4.10, 50.72) |
| CIE-LCH | lch(57.48, 50.89, 94.62°) |
| OKLab | oklab(63.21% -0.0163 0.1128) |
| OKLCH | oklch(63.21% 0.114 98.2) |
| XYZ | xyz(23.2359, 25.4204, 5.9678) |
| Luminance | 0.2542 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.27
Dark Mustard
#A88905
ΔE00 4.74
Baby Poo
#AB9004
ΔE00 4.96
Baby Shit Brown
#AD900D
ΔE00 5.12
Baby Poop
#937C00
ΔE00 5.42
Yellowy Brown
#AE8B0C
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A2B #2B3D9C
analogous
#9C512B #9C8A2B #769C2B
triadic
#9C8A2B #2B9C8A #8A2B9C
tetradic
#9C8A2B #2B9C51 #2B3D9C #9C2B76
square
#9C8A2B #2B9C51 #2B3D9C #9C2B76
split-complementary
#9C8A2B #2B769C #512B9C
monochromatic
#3C3511 #6C601E #9C8A2B #C9B23B #D6C56B
Accessibility & contrast
On white
3.45
#9C8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#9C8A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A2B
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A2B | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98861C
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#A88077
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a2b; /* rgb */ color: rgb(156, 138, 43); /* oklch */ color: oklch(63.2% 0.114 98.2);
Tailwind
colors: {
custom: {
50: '#bdab6b',
500: '#9c8a2b',
950: '#000000',
},
}SCSS
$custom: #9c8a2b; $custom-light: #bdab6b; $custom-dark: #000000;
JSON
{
"hex": "#9c8a2b",
"rgb": {
"r": 156,
"g": 138,
"b": 43
},
"hsl": {
"h": 50.442,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.6321,
"c": 0.11392,
"h": 98.2
},
"luminance": 0.25419
}Semantic roles & 50–950 ramp
primary
#9C8A2B
secondary
#6674BD
accent
#60E048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A