#8D8718#8D8718
#8D8718 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.123 H 106.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8718 |
|---|---|
| RGB | rgb(141, 135, 24) |
| HSL | hsl(57, 71%, 32%) |
| HSV | hsv(57, 83%, 55%) |
| CMYK | cmyk(0%, 4.3%, 83%, 44.7%) |
| CIE-LAB | lab(55.13, -10.13, 54.69) |
| CIE-LCH | lch(55.13, 55.62, 100.49°) |
| OKLab | oklab(60.97% -0.0343 0.1181) |
| OKLCH | oklch(60.97% 0.123 106.2) |
| XYZ | xyz(19.8142, 23.0574, 4.2708) |
| Luminance | 0.2306 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.54
Baby Poop
#937C00
ΔE00 6.07
Shit Green
#758000
ΔE00 6.09
Baby Poop Green
#8F9805
ΔE00 6.47
Swamp Green
#748500
ΔE00 6.60
Pea Soup
#929901
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8718 #181E8D
analogous
#8D4C18 #8D8718 #598D18
triadic
#8D8718 #188D87 #87188D
tetradic
#8D8718 #188D4C #181E8D #8D1859
square
#8D8718 #188D4C #181E8D #8D1859
split-complementary
#8D8718 #18598D #4C188D
monochromatic
#242306 #59550F #8D8718 #C1B921 #DFD741
Accessibility & contrast
On white
3.74
#8D8718 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#8D8718 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8718
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8718 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8718 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8d8718; /* rgb */ color: rgb(141, 135, 24); /* oklch */ color: oklch(61.0% 0.123 106.2);
Tailwind
colors: {
custom: {
50: '#b2a961',
500: '#8d8718',
950: '#000000',
},
}SCSS
$custom: #8d8718; $custom-light: #b2a961; $custom-dark: #000000;
JSON
{
"hex": "#8d8718",
"rgb": {
"r": 141,
"g": 135,
"b": 24
},
"hsl": {
"h": 56.923,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.60974,
"c": 0.12296,
"h": 106.2
},
"luminance": 0.23057
}Semantic roles & 50–950 ramp
primary
#8D8718
secondary
#4248BF
accent
#43EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A