#8C8A1A#8C8A1A
#8C8A1A is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.125 H 108.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8A1A |
|---|---|
| RGB | rgb(140, 138, 26) |
| HSL | hsl(59, 69%, 33%) |
| HSV | hsv(59, 81%, 55%) |
| CMYK | cmyk(0%, 1.4%, 81.4%, 45.1%) |
| CIE-LAB | lab(55.91, -12.13, 54.75) |
| CIE-LCH | lch(55.91, 56.08, 102.49°) |
| OKLab | oklab(61.58% -0.0397 0.1187) |
| OKLCH | oklch(61.58% 0.125 108.5) |
| XYZ | xyz(20.0910, 23.8277, 4.5180) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.94
Baby Poop Green
#8F9805
ΔE00 5.21
Pea Soup
#929901
ΔE00 5.44
Baby Shit Green
#889717
ΔE00 5.53
Shit Green
#758000
ΔE00 5.84
Swamp Green
#748500
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8A1A #1A1C8C
analogous
#8C511A #8C8A1A #558C1A
triadic
#8C8A1A #1A8C8A #8A1A8C
tetradic
#8C8A1A #1A8C51 #1A1C8C #8C1A55
square
#8C8A1A #1A8C51 #1A1C8C #8C1A55
split-complementary
#8C8A1A #1A558C #511A8C
monochromatic
#252407 #585710 #8C8A1A #C0BD24 #DCDA44
Accessibility & contrast
On white
3.64
#8C8A1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#8C8A1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8A1A
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8A1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8A1A | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#978076
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8c8a1a; /* rgb */ color: rgb(140, 138, 26); /* oklch */ color: oklch(61.6% 0.125 108.5);
Tailwind
colors: {
custom: {
50: '#b1ab62',
500: '#8c8a1a',
950: '#000000',
},
}SCSS
$custom: #8c8a1a; $custom-light: #b1ab62; $custom-dark: #000000;
JSON
{
"hex": "#8c8a1a",
"rgb": {
"r": 140,
"g": 138,
"b": 26
},
"hsl": {
"h": 58.947,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.6158,
"c": 0.12511,
"h": 108.5
},
"luminance": 0.23827
}Semantic roles & 50–950 ramp
primary
#8C8A1A
secondary
#4446BE
accent
#3FEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A