#8C8718#8C8718
#8C8718 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.123 H 106.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8718 |
|---|---|
| RGB | rgb(140, 135, 24) |
| HSL | hsl(57, 71%, 32%) |
| HSV | hsv(57, 83%, 55%) |
| CMYK | cmyk(0%, 3.6%, 82.9%, 45.1%) |
| CIE-LAB | lab(55.04, -10.59, 54.57) |
| CIE-LCH | lch(55.04, 55.59, 100.98°) |
| OKLab | oklab(60.88% -0.0355 0.1179) |
| OKLCH | oklch(60.88% 0.123 106.8) |
| XYZ | xyz(19.6449, 22.9701, 4.2628) |
| Luminance | 0.2297 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.35
Shit Green
#758000
ΔE00 5.82
Swamp Green
#748500
ΔE00 6.29
Baby Poop
#937C00
ΔE00 6.31
Baby Poop Green
#8F9805
ΔE00 6.36
Pea Soup
#929901
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8718 #181D8C
analogous
#8C4D18 #8C8718 #578C18
triadic
#8C8718 #188C87 #87188C
tetradic
#8C8718 #188C4D #181D8C #8C1857
square
#8C8718 #188C4D #181D8C #8C1857
split-complementary
#8C8718 #18578C #4D188C
monochromatic
#242206 #58550F #8C8718 #C0B921 #DED740
Accessibility & contrast
On white
3.75
#8C8718 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#8C8718 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8718
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8718 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8718 | 1.00 | 3.75 | 5.59 | 5.59 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#977D73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8c8718; /* rgb */ color: rgb(140, 135, 24); /* oklch */ color: oklch(60.9% 0.123 106.8);
Tailwind
colors: {
custom: {
50: '#b1a961',
500: '#8c8718',
950: '#000000',
},
}SCSS
$custom: #8c8718; $custom-light: #b1a961; $custom-dark: #000000;
JSON
{
"hex": "#8c8718",
"rgb": {
"r": 140,
"g": 135,
"b": 24
},
"hsl": {
"h": 57.414,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.6088,
"c": 0.12312,
"h": 106.8
},
"luminance": 0.22969
}Semantic roles & 50–950 ramp
primary
#8C8718
secondary
#4146BF
accent
#42ED3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A