#8D8715#8D8715
#8D8715 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.124 H 106.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8715 |
|---|---|
| RGB | rgb(141, 135, 21) |
| HSL | hsl(57, 74%, 32%) |
| HSV | hsv(57, 85%, 55%) |
| CMYK | cmyk(0%, 4.3%, 85.1%, 44.7%) |
| CIE-LAB | lab(55.12, -10.22, 55.50) |
| CIE-LCH | lch(55.12, 56.43, 100.44°) |
| OKLab | oklab(60.96% -0.0348 0.1193) |
| OKLCH | oklch(60.96% 0.124 106.3) |
| XYZ | xyz(19.7847, 23.0456, 4.1154) |
| Luminance | 0.2304 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.51
Baby Poop
#937C00
ΔE00 6.04
Shit Green
#758000
ΔE00 6.09
Baby Poop Green
#8F9805
ΔE00 6.42
Pea Soup
#929901
ΔE00 6.55
Swamp Green
#748500
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8715 #151B8D
analogous
#8D4B15 #8D8715 #578D15
triadic
#8D8715 #158D87 #87158D
tetradic
#8D8715 #158D4B #151B8D #8D1557
square
#8D8715 #158D4B #151B8D #8D1557
split-complementary
#8D8715 #15578D #4B158D
monochromatic
#222105 #58540D #8D8715 #C2BA1D #E2D93B
Accessibility & contrast
On white
3.74
#8D8715 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#8D8715 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8715
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8715 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8715 | 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)
#948200
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8d8715; /* rgb */ color: rgb(141, 135, 21); /* oklch */ color: oklch(61.0% 0.124 106.3);
Tailwind
colors: {
custom: {
50: '#b2a960',
500: '#8d8715',
950: '#000000',
},
}SCSS
$custom: #8d8715; $custom-light: #b2a960; $custom-dark: #000000;
JSON
{
"hex": "#8d8715",
"rgb": {
"r": 141,
"g": 135,
"b": 21
},
"hsl": {
"h": 57,
"s": 74.074,
"l": 31.765
},
"oklch": {
"l": 0.6096,
"c": 0.12424,
"h": 106.3
},
"luminance": 0.23045
}Semantic roles & 50–950 ramp
primary
#8D8715
secondary
#3D44C1
accent
#40F137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A