#868D1F#868D1F
#868D1F is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.127 H 113.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #868D1F |
|---|---|
| RGB | rgb(134, 141, 31) |
| HSL | hsl(64, 64%, 34%) |
| HSV | hsv(64, 78%, 55%) |
| CMYK | cmyk(5%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(56.30, -16.24, 53.34) |
| CIE-LCH | lch(56.30, 55.76, 106.93°) |
| OKLab | oklab(61.78% -0.0503 0.1169) |
| OKLCH | oklch(61.78% 0.127 113.3) |
| XYZ | xyz(19.6043, 24.2174, 4.9378) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.62
Baby Poop Green
#8F9805
ΔE00 4.33
Swamp Green
#748500
ΔE00 4.44
Pea Soup
#929901
ΔE00 4.88
Olive
#808000
ΔE00 4.94
Dark Yellow Green
#728F02
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#868D1F #261F8D
analogous
#8D5D1F #868D1F #4F8D1F
triadic
#868D1F #1F868D #8D1F86
tetradic
#868D1F #1F8D5D #261F8D #8D1F4F
square
#868D1F #1F8D5D #261F8D #8D1F4F
split-complementary
#868D1F #1F4F8D #5D1F8D
monochromatic
#272909 #565B14 #868D1F #B6BF2A #CFD84E
Accessibility & contrast
On white
3.59
#868D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#868D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #868D1F
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##868D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##868D1F | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988602
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#8F8478
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #868d1f; /* rgb */ color: rgb(134, 141, 31); /* oklch */ color: oklch(61.8% 0.127 113.3);
Tailwind
colors: {
custom: {
50: '#adae65',
500: '#868d1f',
950: '#000000',
},
}SCSS
$custom: #868d1f; $custom-light: #adae65; $custom-dark: #000000;
JSON
{
"hex": "#868d1f",
"rgb": {
"r": 134,
"g": 141,
"b": 31
},
"hsl": {
"h": 63.818,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.61775,
"c": 0.12723,
"h": 113.3
},
"luminance": 0.24217
}Semantic roles & 50–950 ramp
primary
#868D1F
secondary
#544DBB
accent
#41E74B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A