#8C8218#8C8218
#8C8218 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.7% C 0.119 H 103.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8218 |
|---|---|
| RGB | rgb(140, 130, 24) |
| HSL | hsl(55, 71%, 32%) |
| HSV | hsv(55, 83%, 55%) |
| CMYK | cmyk(0%, 7.1%, 82.9%, 45.1%) |
| CIE-LAB | lab(53.61, -7.87, 53.33) |
| CIE-LCH | lch(53.61, 53.91, 98.39°) |
| OKLab | oklab(59.74% -0.0279 0.1152) |
| OKLCH | oklch(59.74% 0.119 103.6) |
| XYZ | xyz(18.9636, 21.6075, 4.0357) |
| Luminance | 0.2161 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.41
Baby Poop
#937C00
ΔE00 4.44
Hazel
#8E7618
ΔE00 5.90
Diarrhea
#9F8303
ΔE00 5.96
Shit Green
#758000
ΔE00 6.40
Ugly Brown
#7D7103
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8218 #18228C
analogous
#8C4818 #8C8218 #5C8C18
triadic
#8C8218 #188C82 #82188C
tetradic
#8C8218 #188C48 #18228C #8C185C
square
#8C8218 #188C48 #18228C #8C185C
split-complementary
#8C8218 #185C8C #48188C
monochromatic
#242106 #58510F #8C8218 #C0B321 #DED140
Accessibility & contrast
On white
3.95
#8C8218 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#8C8218 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8218
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8218 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8218 | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#928221
Tritanopia (blue-blind)
#97786F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8c8218; /* rgb */ color: rgb(140, 130, 24); /* oklch */ color: oklch(59.7% 0.119 103.6);
Tailwind
colors: {
custom: {
50: '#b1a660',
500: '#8c8218',
950: '#000000',
},
}SCSS
$custom: #8c8218; $custom-light: #b1a660; $custom-dark: #000000;
JSON
{
"hex": "#8c8218",
"rgb": {
"r": 140,
"g": 130,
"b": 24
},
"hsl": {
"h": 54.828,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.59739,
"c": 0.11854,
"h": 103.6
},
"luminance": 0.21607
}Semantic roles & 50–950 ramp
primary
#8C8218
secondary
#414CBF
accent
#4AED3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A