#868018#868018
#868018 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.7% C 0.117 H 106.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #868018 |
|---|---|
| RGB | rgb(134, 128, 24) |
| HSL | hsl(57, 70%, 31%) |
| HSV | hsv(57, 82%, 53%) |
| CMYK | cmyk(0%, 4.5%, 82.1%, 47.5%) |
| CIE-LAB | lab(52.48, -9.55, 52.13) |
| CIE-LCH | lch(52.48, 53.00, 100.39°) |
| OKLab | oklab(58.71% -0.0323 0.1129) |
| OKLCH | oklch(58.71% 0.117 106) |
| XYZ | xyz(17.7163, 20.5733, 3.9018) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.17
Shit Green
#758000
ΔE00 4.95
Baby Poop
#937C00
ΔE00 5.53
Ugly Brown
#7D7103
ΔE00 5.75
Poop Green
#6F7C00
ΔE00 6.09
Swamp Green
#748500
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#868018 #181E86
analogous
#864918 #868018 #558618
triadic
#868018 #188680 #801886
tetradic
#868018 #188649 #181E86 #861855
square
#868018 #188649 #181E86 #861855
split-complementary
#868018 #185586 #491886
monochromatic
#1E1D05 #524E0F #868018 #BAB221 #DCD33C
Accessibility & contrast
On white
4.11
#868018 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#868018 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #868018
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##868018 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##868018 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#91776D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #868018; /* rgb */ color: rgb(134, 128, 24); /* oklch */ color: oklch(58.7% 0.117 106.0);
Tailwind
colors: {
custom: {
50: '#ada460',
500: '#868018',
950: '#000000',
},
}SCSS
$custom: #868018; $custom-light: #ada460; $custom-dark: #000000;
JSON
{
"hex": "#868018",
"rgb": {
"r": 134,
"g": 128,
"b": 24
},
"hsl": {
"h": 56.727,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.58707,
"c": 0.11744,
"h": 106
},
"luminance": 0.20573
}Semantic roles & 50–950 ramp
primary
#868018
secondary
#4047BA
accent
#45EC3B
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79