#868C1F#868C1F
#868C1F is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.126 H 112.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #868C1F |
|---|---|
| RGB | rgb(134, 140, 31) |
| HSL | hsl(63, 64%, 34%) |
| HSV | hsv(63, 78%, 55%) |
| CMYK | cmyk(4.3%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(56.01, -15.71, 53.07) |
| CIE-LCH | lch(56.01, 55.35, 106.49°) |
| OKLab | oklab(61.54% -0.0489 0.1163) |
| OKLCH | oklch(61.54% 0.126 112.8) |
| XYZ | xyz(19.4576, 23.9239, 4.8888) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.00
Swamp Green
#748500
ΔE00 4.38
Olive
#808000
ΔE00 4.60
Baby Poop Green
#8F9805
ΔE00 4.61
Shit Green
#758000
ΔE00 5.06
Pea Soup
#929901
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#868C1F #251F8C
analogous
#8C5B1F #868C1F #4F8C1F
triadic
#868C1F #1F868C #8C1F86
tetradic
#868C1F #1F8C5B #251F8C #8C1F4F
square
#868C1F #1F8C5B #251F8C #8C1F4F
split-complementary
#868C1F #1F4F8C #5B1F8C
monochromatic
#262809 #565A14 #868C1F #B6BE2A #D0D84E
Accessibility & contrast
On white
3.63
#868C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#868C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #868C1F
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##868C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##868C1F | 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)
#978503
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#8F8378
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #868c1f; /* rgb */ color: rgb(134, 140, 31); /* oklch */ color: oklch(61.5% 0.126 112.8);
Tailwind
colors: {
custom: {
50: '#adad64',
500: '#868c1f',
950: '#000000',
},
}SCSS
$custom: #868c1f; $custom-light: #adad64; $custom-dark: #000000;
JSON
{
"hex": "#868c1f",
"rgb": {
"r": 134,
"g": 140,
"b": 31
},
"hsl": {
"h": 63.303,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.6154,
"c": 0.12613,
"h": 112.8
},
"luminance": 0.23923
}Semantic roles & 50–950 ramp
primary
#868C1F
secondary
#524CBB
accent
#41E74A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A