#868A1C#868A1C
#868A1C is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.126 H 111.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #868A1C |
|---|---|
| RGB | rgb(134, 138, 28) |
| HSL | hsl(62, 66%, 33%) |
| HSV | hsv(62, 80%, 54%) |
| CMYK | cmyk(2.9%, 0%, 79.7%, 45.9%) |
| CIE-LAB | lab(55.41, -14.78, 53.50) |
| CIE-LCH | lch(55.41, 55.50, 105.45°) |
| OKLab | oklab(61.05% -0.0465 0.1166) |
| OKLCH | oklch(61.05% 0.126 111.8) |
| XYZ | xyz(19.1303, 23.3296, 4.5937) |
| Luminance | 0.2333 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.83
Swamp Green
#748500
ΔE00 4.32
Shit Green
#758000
ΔE00 4.66
Baby Shit Green
#889717
ΔE00 4.72
Baby Poop Green
#8F9805
ΔE00 5.10
Pea Soup
#929901
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#868A1C #201C8A
analogous
#8A571C #868A1C #4F8A1C
triadic
#868A1C #1C868A #8A1C86
tetradic
#868A1C #1C8A57 #201C8A #8A1C4F
square
#868A1C #1C8A57 #201C8A #8A1C4F
split-complementary
#868A1C #1C4F8A #571C8A
monochromatic
#232407 #555712 #868A1C #B7BD26 #D4DA47
Accessibility & contrast
On white
3.71
#868A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#868A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #868A1C
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##868A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##868A1C | 1.00 | 3.71 | 5.67 | 5.67 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#908176
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #868a1c; /* rgb */ color: rgb(134, 138, 28); /* oklch */ color: oklch(61.1% 0.126 111.8);
Tailwind
colors: {
custom: {
50: '#adab63',
500: '#868a1c',
950: '#000000',
},
}SCSS
$custom: #868a1c; $custom-light: #adab63; $custom-dark: #000000;
JSON
{
"hex": "#868a1c",
"rgb": {
"r": 134,
"g": 138,
"b": 28
},
"hsl": {
"h": 62.182,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.61054,
"c": 0.12556,
"h": 111.8
},
"luminance": 0.23329
}Semantic roles & 50–950 ramp
primary
#868A1C
secondary
#4B46BB
accent
#3FE945
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A