#868C15#868C15
#868C15 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.131 H 112.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #868C15 |
|---|---|
| RGB | rgb(134, 140, 21) |
| HSL | hsl(63, 74%, 32%) |
| HSV | hsv(63, 85%, 55%) |
| CMYK | cmyk(4.3%, 0%, 85%, 45.1%) |
| CIE-LAB | lab(55.97, -16.09, 55.98) |
| CIE-LCH | lch(55.97, 58.24, 106.03°) |
| OKLab | oklab(61.49% -0.0507 0.1206) |
| OKLCH | oklch(61.49% 0.131 112.8) |
| XYZ | xyz(19.3456, 23.8791, 4.2994) |
| Luminance | 0.2388 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.89
Baby Poop Green
#8F9805
ΔE00 4.24
Swamp Green
#748500
ΔE00 4.33
Olive
#808000
ΔE00 4.39
Pea Soup
#929901
ΔE00 4.74
Shit Green
#758000
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#868C15 #1B158C
analogous
#8C5715 #868C15 #4B8C15
triadic
#868C15 #15868C #8C1586
tetradic
#868C15 #158C57 #1B158C #8C154B
square
#868C15 #158C57 #1B158C #8C154B
split-complementary
#868C15 #154B8C #57158C
monochromatic
#202205 #53570D #868C15 #B9C11D #D9E13A
Accessibility & contrast
On white
3.64
#868C15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#868C15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #868C15
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##868C15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##868C15 | 1.00 | 3.64 | 5.78 | 5.78 |
| #FFFFFF | 3.64 | 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)
#978722
Tritanopia (blue-blind)
#908377
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #868c15; /* rgb */ color: rgb(134, 140, 21); /* oklch */ color: oklch(61.5% 0.131 112.8);
Tailwind
colors: {
custom: {
50: '#adad60',
500: '#868c15',
950: '#000000',
},
}SCSS
$custom: #868c15; $custom-light: #adad60; $custom-dark: #000000;
JSON
{
"hex": "#868c15",
"rgb": {
"r": 134,
"g": 140,
"b": 21
},
"hsl": {
"h": 63.025,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.6149,
"c": 0.13085,
"h": 112.8
},
"luminance": 0.23879
}Semantic roles & 50–950 ramp
primary
#868C15
secondary
#443DC0
accent
#37F141
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A