#868216#868216
#868216 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 59.2% C 0.120 H 107.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #868216 |
|---|---|
| RGB | rgb(134, 130, 22) |
| HSL | hsl(58, 72%, 31%) |
| HSV | hsv(58, 84%, 53%) |
| CMYK | cmyk(0%, 3%, 83.6%, 47.5%) |
| CIE-LAB | lab(53.05, -10.71, 53.21) |
| CIE-LCH | lch(53.05, 54.28, 101.38°) |
| OKLab | oklab(59.16% -0.0357 0.1149) |
| OKLCH | oklch(59.16% 0.12 107.3) |
| XYZ | xyz(17.9597, 21.0922, 3.8841) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.82
Shit Green
#758000
ΔE00 4.55
Swamp Green
#748500
ΔE00 5.61
Poop Green
#6F7C00
ΔE00 5.91
Baby Poop
#937C00
ΔE00 6.10
Ugly Brown
#7D7103
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#868216 #161A86
analogous
#864A16 #868216 #528616
triadic
#868216 #168682 #821686
tetradic
#868216 #16864A #161A86 #861652
square
#868216 #16864A #161A86 #861652
split-complementary
#868216 #165286 #4A1686
monochromatic
#1D1C05 #514F0D #868216 #BBB51F #DED838
Accessibility & contrast
On white
4.02
#868216 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#868216 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #868216
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##868216 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##868216 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#908020
Tritanopia (blue-blind)
#90796F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #868216; /* rgb */ color: rgb(134, 130, 22); /* oklch */ color: oklch(59.2% 0.120 107.3);
Tailwind
colors: {
custom: {
50: '#ada65f',
500: '#868216',
950: '#000000',
},
}SCSS
$custom: #868216; $custom-light: #ada65f; $custom-dark: #000000;
JSON
{
"hex": "#868216",
"rgb": {
"r": 134,
"g": 130,
"b": 22
},
"hsl": {
"h": 57.857,
"s": 71.795,
"l": 30.588
},
"oklch": {
"l": 0.59159,
"c": 0.12028,
"h": 107.3
},
"luminance": 0.21092
}Semantic roles & 50–950 ramp
primary
#868216
secondary
#3E42BA
accent
#40EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79