#9C8F29#9C8F29
#9C8F29 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.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F29 |
|---|---|
| RGB | rgb(156, 143, 41) |
| HSL | hsl(53, 58%, 39%) |
| HSV | hsv(53, 74%, 61%) |
| CMYK | cmyk(0%, 8.3%, 73.7%, 38.8%) |
| CIE-LAB | lab(58.86, -6.92, 52.86) |
| CIE-LCH | lch(58.86, 53.31, 97.46°) |
| OKLab | oklab(64.3% -0.0245 0.1169) |
| OKLCH | oklch(64.3% 0.119 101.8) |
| XYZ | xyz(23.9341, 26.8740, 6.0239) |
| Luminance | 0.2687 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.07
Baby Shit Brown
#AD900D
ΔE00 5.43
Dark Mustard
#A88905
ΔE00 5.87
Diarrhea
#9F8303
ΔE00 5.88
Brown Yellow
#B29705
ΔE00 6.18
Pea Soup
#929901
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F29 #29369C
analogous
#9C5529 #9C8F29 #6F9C29
triadic
#9C8F29 #299C8F #8F299C
tetradic
#9C8F29 #299C55 #29369C #9C296F
square
#9C8F29 #299C55 #29369C #9C296F
split-complementary
#9C8F29 #296F9C #55299C
monochromatic
#3B3610 #6C631C #9C8F29 #CBBA38 #D7CB68
Accessibility & contrast
On white
3.29
#9C8F29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#9C8F29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F29
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F29 | 1.00 | 3.29 | 6.37 | 6.37 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B17
Deuteranopia (green-blind)
#A09030
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8f29; /* rgb */ color: rgb(156, 143, 41); /* oklch */ color: oklch(64.3% 0.119 101.8);
Tailwind
colors: {
custom: {
50: '#bdaf6a',
500: '#9c8f29',
950: '#000000',
},
}SCSS
$custom: #9c8f29; $custom-light: #bdaf6a; $custom-dark: #000000;
JSON
{
"hex": "#9c8f29",
"rgb": {
"r": 156,
"g": 143,
"b": 41
},
"hsl": {
"h": 53.217,
"s": 58.376,
"l": 38.627
},
"oklch": {
"l": 0.64296,
"c": 0.11942,
"h": 101.8
},
"luminance": 0.26873
}Semantic roles & 50–950 ramp
primary
#9C8F29
secondary
#636DBE
accent
#58E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A