#8C8018#8C8018
#8C8018 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.117 H 102.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8018 |
|---|---|
| RGB | rgb(140, 128, 24) |
| HSL | hsl(54, 71%, 32%) |
| HSV | hsv(54, 83%, 55%) |
| CMYK | cmyk(0%, 8.6%, 82.9%, 45.1%) |
| CIE-LAB | lab(53.04, -6.77, 52.83) |
| CIE-LCH | lch(53.04, 53.27, 97.30°) |
| OKLab | oklab(59.29% -0.0248 0.1141) |
| OKLCH | oklch(59.29% 0.117 102.3) |
| XYZ | xyz(18.7002, 21.0806, 3.9479) |
| Luminance | 0.2108 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.75
Olive
#808000
ΔE00 3.82
Hazel
#8E7618
ΔE00 5.03
Diarrhea
#9F8303
ΔE00 5.63
Ugly Brown
#7D7103
ΔE00 5.85
Puke Brown
#947706
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8018 #18248C
analogous
#8C4618 #8C8018 #5E8C18
triadic
#8C8018 #188C80 #80188C
tetradic
#8C8018 #188C46 #18248C #8C185E
square
#8C8018 #188C46 #18248C #8C185E
split-complementary
#8C8018 #185E8C #46188C
monochromatic
#242006 #58500F #8C8018 #C0B021 #DECE40
Accessibility & contrast
On white
4.03
#8C8018 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#8C8018 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8018
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8018 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8018 | 1.00 | 4.03 | 5.22 | 5.22 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#97766D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8c8018; /* rgb */ color: rgb(140, 128, 24); /* oklch */ color: oklch(59.3% 0.117 102.3);
Tailwind
colors: {
custom: {
50: '#b1a460',
500: '#8c8018',
950: '#000000',
},
}SCSS
$custom: #8c8018; $custom-light: #b1a460; $custom-dark: #000000;
JSON
{
"hex": "#8c8018",
"rgb": {
"r": 140,
"g": 128,
"b": 24
},
"hsl": {
"h": 53.793,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.59285,
"c": 0.1168,
"h": 102.3
},
"luminance": 0.2108
}Semantic roles & 50–950 ramp
primary
#8C8018
secondary
#414EBF
accent
#4DED3A
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79