#868C1A#868C1A
#868C1A is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.129 H 112.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #868C1A |
|---|---|
| RGB | rgb(134, 140, 26) |
| HSL | hsl(63, 69%, 33%) |
| HSV | hsv(63, 81%, 55%) |
| CMYK | cmyk(4.3%, 0%, 81.4%, 45.1%) |
| CIE-LAB | lab(55.99, -15.91, 54.62) |
| CIE-LCH | lch(55.99, 56.89, 106.24°) |
| OKLab | oklab(61.51% -0.0498 0.1186) |
| OKLCH | oklch(61.51% 0.129 112.8) |
| XYZ | xyz(19.3967, 23.8995, 4.5684) |
| Luminance | 0.2390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.92
Swamp Green
#748500
ΔE00 4.33
Baby Poop Green
#8F9805
ΔE00 4.40
Olive
#808000
ΔE00 4.47
Pea Soup
#929901
ΔE00 4.91
Shit Green
#758000
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#868C1A #201A8C
analogous
#8C591A #868C1A #4D8C1A
triadic
#868C1A #1A868C #8C1A86
tetradic
#868C1A #1A8C59 #201A8C #8C1A4D
square
#868C1A #1A8C59 #201A8C #8C1A4D
split-complementary
#868C1A #1A4D8C #591A8C
monochromatic
#232507 #555810 #868C1A #B7C024 #D4DC44
Accessibility & contrast
On white
3.63
#868C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#868C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #868C1A
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##868C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##868C1A | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#908377
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #868c1a; /* rgb */ color: rgb(134, 140, 26); /* oklch */ color: oklch(61.5% 0.129 112.8);
Tailwind
colors: {
custom: {
50: '#adad62',
500: '#868c1a',
950: '#000000',
},
}SCSS
$custom: #868c1a; $custom-light: #adad62; $custom-dark: #000000;
JSON
{
"hex": "#868c1a",
"rgb": {
"r": 134,
"g": 140,
"b": 26
},
"hsl": {
"h": 63.158,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.61513,
"c": 0.12868,
"h": 112.8
},
"luminance": 0.23899
}Semantic roles & 50–950 ramp
primary
#868C1A
secondary
#4B44BE
accent
#3CEC46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A