#8C8A29#8C8A29
#8C8A29 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.116 H 108.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8A29 |
|---|---|
| RGB | rgb(140, 138, 41) |
| HSL | hsl(59, 55%, 35%) |
| HSV | hsv(59, 71%, 55%) |
| CMYK | cmyk(0%, 1.4%, 70.7%, 45.1%) |
| CIE-LAB | lab(56.00, -11.45, 49.57) |
| CIE-LCH | lch(56.00, 50.88, 103.01°) |
| OKLab | oklab(61.68% -0.0363 0.1105) |
| OKLCH | oklch(61.68% 0.116 108.2) |
| XYZ | xyz(20.3047, 23.9131, 5.6435) |
| Luminance | 0.2391 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.50
Baby Shit Green
#889717
ΔE00 5.82
Baby Poop Green
#8F9805
ΔE00 5.88
Shit Green
#758000
ΔE00 6.07
Swamp Green
#748500
ΔE00 6.11
Drab
#828344
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8A29 #292B8C
analogous
#8C5829 #8C8A29 #5C8C29
triadic
#8C8A29 #298C8A #8A298C
tetradic
#8C8A29 #298C58 #292B8C #8C295C
square
#8C8A29 #298C58 #292B8C #8C295C
split-complementary
#8C8A29 #295C8C #58298C
monochromatic
#2D2D0D #5D5B1B #8C8A29 #BBB937 #D0CE5F
Accessibility & contrast
On white
3.63
#8C8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#8C8A29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8A29
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8A29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8A29 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96841A
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#968177
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8c8a29; /* rgb */ color: rgb(140, 138, 41); /* oklch */ color: oklch(61.7% 0.116 108.2);
Tailwind
colors: {
custom: {
50: '#b1ab69',
500: '#8c8a29',
950: '#000000',
},
}SCSS
$custom: #8c8a29; $custom-light: #b1ab69; $custom-dark: #000000;
JSON
{
"hex": "#8c8a29",
"rgb": {
"r": 140,
"g": 138,
"b": 41
},
"hsl": {
"h": 58.788,
"s": 54.696,
"l": 35.49
},
"oklch": {
"l": 0.61676,
"c": 0.11633,
"h": 108.2
},
"luminance": 0.23913
}Semantic roles & 50–950 ramp
primary
#8C8A29
secondary
#5B5DB6
accent
#4DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A