#8D8818#8D8818
#8D8818 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.124 H 106.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8818 |
|---|---|
| RGB | rgb(141, 136, 24) |
| HSL | hsl(57, 71%, 32%) |
| HSV | hsv(57, 83%, 55%) |
| CMYK | cmyk(0%, 3.5%, 83%, 44.7%) |
| CIE-LAB | lab(55.42, -10.67, 54.93) |
| CIE-LCH | lch(55.42, 55.96, 100.99°) |
| OKLab | oklab(61.2% -0.0358 0.1186) |
| OKLCH | oklch(61.2% 0.124 106.8) |
| XYZ | xyz(19.9544, 23.3377, 4.3175) |
| Luminance | 0.2334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.66
Shit Green
#758000
ΔE00 6.05
Baby Poop Green
#8F9805
ΔE00 6.06
Pea Soup
#929901
ΔE00 6.21
Swamp Green
#748500
ΔE00 6.43
Baby Poop
#937C00
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8818 #181D8D
analogous
#8D4E18 #8D8818 #578D18
triadic
#8D8818 #188D88 #88188D
tetradic
#8D8818 #188D4E #181D8D #8D1857
square
#8D8818 #188D4E #181D8D #8D1857
split-complementary
#8D8818 #18578D #4E188D
monochromatic
#242306 #59560F #8D8818 #C1BA21 #DFD841
Accessibility & contrast
On white
3.71
#8D8818 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#8D8818 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8818
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8818 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8818 | 1.00 | 3.71 | 5.67 | 5.67 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#987E74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8d8818; /* rgb */ color: rgb(141, 136, 24); /* oklch */ color: oklch(61.2% 0.124 106.8);
Tailwind
colors: {
custom: {
50: '#b2aa61',
500: '#8d8818',
950: '#000000',
},
}SCSS
$custom: #8d8818; $custom-light: #b2aa61; $custom-dark: #000000;
JSON
{
"hex": "#8d8818",
"rgb": {
"r": 141,
"g": 136,
"b": 24
},
"hsl": {
"h": 57.436,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.61203,
"c": 0.1239,
"h": 106.8
},
"luminance": 0.23337
}Semantic roles & 50–950 ramp
primary
#8D8818
secondary
#4247BF
accent
#42EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A