#8C8A14#8C8A14
#8C8A14 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.128 H 108.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8A14 |
|---|---|
| RGB | rgb(140, 138, 20) |
| HSL | hsl(59, 75%, 31%) |
| HSV | hsv(59, 86%, 55%) |
| CMYK | cmyk(0%, 1.4%, 85.7%, 45.1%) |
| CIE-LAB | lab(55.89, -12.33, 56.37) |
| CIE-LCH | lch(55.89, 57.70, 102.33°) |
| OKLab | oklab(61.55% -0.0406 0.121) |
| OKLCH | oklch(61.55% 0.128 108.6) |
| XYZ | xyz(20.0308, 23.8036, 4.2011) |
| Luminance | 0.2380 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.89
Baby Poop Green
#8F9805
ΔE00 5.09
Pea Soup
#929901
ΔE00 5.29
Baby Shit Green
#889717
ΔE00 5.53
Shit Green
#758000
ΔE00 5.86
Swamp Green
#748500
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8A14 #14168C
analogous
#8C4E14 #8C8A14 #528C14
triadic
#8C8A14 #148C8A #8A148C
tetradic
#8C8A14 #148C4E #14168C #8C1452
square
#8C8A14 #148C4E #14168C #8C1452
split-complementary
#8C8A14 #14528C #4E148C
monochromatic
#212005 #56550C #8C8A14 #C2BF1C #E3E038
Accessibility & contrast
On white
3.65
#8C8A14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#8C8A14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8A14
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8A14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8A14 | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988820
Tritanopia (blue-blind)
#978075
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8c8a14; /* rgb */ color: rgb(140, 138, 20); /* oklch */ color: oklch(61.6% 0.128 108.6);
Tailwind
colors: {
custom: {
50: '#b1ab60',
500: '#8c8a14',
950: '#000000',
},
}SCSS
$custom: #8c8a14; $custom-light: #b1ab60; $custom-dark: #000000;
JSON
{
"hex": "#8c8a14",
"rgb": {
"r": 140,
"g": 138,
"b": 20
},
"hsl": {
"h": 59,
"s": 75,
"l": 31.373
},
"oklch": {
"l": 0.61553,
"c": 0.12767,
"h": 108.6
},
"luminance": 0.23803
}Semantic roles & 50–950 ramp
primary
#8C8A14
secondary
#3C3EC0
accent
#39F236
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A