#868318#868318
#868318 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.120 H 107.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #868318 |
|---|---|
| RGB | rgb(134, 131, 24) |
| HSL | hsl(58, 70%, 31%) |
| HSV | hsv(58, 82%, 53%) |
| CMYK | cmyk(0%, 2.2%, 82.1%, 47.5%) |
| CIE-LAB | lab(53.35, -11.19, 52.89) |
| CIE-LCH | lch(53.35, 54.06, 101.94°) |
| OKLab | oklab(59.4% -0.0369 0.1146) |
| OKLCH | oklch(59.4% 0.12 107.8) |
| XYZ | xyz(18.1134, 21.3675, 4.0342) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.93
Shit Green
#758000
ΔE00 4.43
Swamp Green
#748500
ΔE00 5.35
Poop Green
#6F7C00
ΔE00 5.87
Baby Poop
#937C00
ΔE00 6.46
Drab
#828344
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#868318 #181B86
analogous
#864C18 #868318 #528618
triadic
#868318 #188683 #831886
tetradic
#868318 #18864C #181B86 #861852
square
#868318 #18864C #181B86 #861852
split-complementary
#868318 #185286 #4C1886
monochromatic
#1E1E05 #52500F #868318 #BAB621 #DCD83C
Accessibility & contrast
On white
3.98
#868318 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#868318 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #868318
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##868318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##868318 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#907A70
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #868318; /* rgb */ color: rgb(134, 131, 24); /* oklch */ color: oklch(59.4% 0.120 107.8);
Tailwind
colors: {
custom: {
50: '#ada660',
500: '#868318',
950: '#000000',
},
}SCSS
$custom: #868318; $custom-light: #ada660; $custom-dark: #000000;
JSON
{
"hex": "#868318",
"rgb": {
"r": 134,
"g": 131,
"b": 24
},
"hsl": {
"h": 58.364,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.59401,
"c": 0.12034,
"h": 107.8
},
"luminance": 0.21367
}Semantic roles & 50–950 ramp
primary
#868318
secondary
#4043BA
accent
#40EC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A