#868221#868221
#868221 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.2% C 0.114 H 107.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #868221 |
|---|---|
| RGB | rgb(134, 130, 33) |
| HSL | hsl(58, 60%, 33%) |
| HSV | hsv(58, 75%, 53%) |
| CMYK | cmyk(0%, 3%, 75.4%, 47.5%) |
| CIE-LAB | lab(53.11, -10.27, 49.66) |
| CIE-LCH | lch(53.11, 50.71, 101.68°) |
| OKLab | oklab(59.22% -0.0335 0.1094) |
| OKLCH | oklch(59.22% 0.114 107) |
| XYZ | xyz(18.0894, 21.1440, 4.5669) |
| Luminance | 0.2114 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.56
Shit Green
#758000
ΔE00 4.76
Swamp Green
#748500
ΔE00 5.77
Drab
#828344
ΔE00 5.81
Poop Green
#6F7C00
ΔE00 6.00
Baby Poop
#937C00
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#868221 #212586
analogous
#865021 #868221 #578621
triadic
#868221 #218682 #822186
tetradic
#868221 #218650 #212586 #862157
square
#868221 #218650 #212586 #862157
split-complementary
#868221 #215786 #502186
monochromatic
#242309 #555215 #868221 #B7B22D #D3CE4E
Accessibility & contrast
On white
4.02
#868221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#868221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #868221
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##868221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##868221 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D0E
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#90796F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #868221; /* rgb */ color: rgb(134, 130, 33); /* oklch */ color: oklch(59.2% 0.114 107.0);
Tailwind
colors: {
custom: {
50: '#aca664',
500: '#868221',
950: '#000000',
},
}SCSS
$custom: #868221; $custom-light: #aca664; $custom-dark: #000000;
JSON
{
"hex": "#868221",
"rgb": {
"r": 134,
"g": 130,
"b": 33
},
"hsl": {
"h": 57.624,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.59223,
"c": 0.11443,
"h": 107
},
"luminance": 0.21143
}Semantic roles & 50–950 ramp
primary
#868221
secondary
#4C50B7
accent
#4AE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A