#867E22#867E22
#867E22 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.110 H 104.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #867E22 |
|---|---|
| RGB | rgb(134, 126, 34) |
| HSL | hsl(55, 60%, 33%) |
| HSV | hsv(55, 75%, 53%) |
| CMYK | cmyk(0%, 6%, 74.6%, 47.5%) |
| CIE-LAB | lab(51.96, -8.03, 48.18) |
| CIE-LCH | lch(51.96, 48.85, 99.46°) |
| OKLab | oklab(58.31% -0.0271 0.1065) |
| OKLCH | oklch(58.31% 0.11 104.3) |
| XYZ | xyz(17.5818, 20.1062, 4.4678) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.37
Ugly Brown
#7D7103
ΔE00 5.19
Baby Poop
#937C00
ΔE00 5.40
Hazel
#8E7618
ΔE00 5.59
Shit Green
#758000
ΔE00 5.72
Drab
#828344
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867E22 #222A86
analogous
#864C22 #867E22 #5C8622
triadic
#867E22 #22867E #7E2286
tetradic
#867E22 #22864C #222A86 #86225C
square
#867E22 #22864C #222A86 #86225C
split-complementary
#867E22 #225C86 #4C2286
monochromatic
#242209 #555016 #867E22 #B7AC2E #D3C850
Accessibility & contrast
On white
4.18
#867E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#867E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867E22
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867E22 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#8C7E28
Tritanopia (blue-blind)
#90756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #867e22; /* rgb */ color: rgb(134, 126, 34); /* oklch */ color: oklch(58.3% 0.110 104.3);
Tailwind
colors: {
custom: {
50: '#aca364',
500: '#867e22',
950: '#000000',
},
}SCSS
$custom: #867e22; $custom-light: #aca364; $custom-dark: #000000;
JSON
{
"hex": "#867e22",
"rgb": {
"r": 134,
"g": 126,
"b": 34
},
"hsl": {
"h": 55.2,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.58309,
"c": 0.10988,
"h": 104.3
},
"luminance": 0.20106
}Semantic roles & 50–950 ramp
primary
#867E22
secondary
#4E56B6
accent
#52E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A