#7E861E#7E861E
#7E861E is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.122 H 114.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E861E |
|---|---|
| RGB | rgb(126, 134, 30) |
| HSL | hsl(65, 63%, 32%) |
| HSV | hsv(65, 78%, 53%) |
| CMYK | cmyk(6%, 0%, 77.6%, 47.5%) |
| CIE-LAB | lab(53.58, -16.20, 50.92) |
| CIE-LCH | lch(53.58, 53.44, 107.64°) |
| OKLab | oklab(59.43% -0.0499 0.1118) |
| OKLCH | oklch(59.43% 0.122 114) |
| XYZ | xyz(17.3642, 21.5799, 4.4787) |
| Luminance | 0.2158 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.77
Shit Green
#758000
ΔE00 2.96
Olive
#808000
ΔE00 3.52
Poop Green
#6F7C00
ΔE00 4.51
Dark Yellow Green
#728F02
ΔE00 5.26
Murky Green
#6C7A0E
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E861E #261E86
analogous
#865A1E #7E861E #4A861E
triadic
#7E861E #1E7E86 #861E7E
tetradic
#7E861E #1E865A #261E86 #861E4A
square
#7E861E #1E865A #261E86 #861E4A
split-complementary
#7E861E #1E4A86 #5A1E86
monochromatic
#202208 #4F5413 #7E861E #ADB829 #CBD648
Accessibility & contrast
On white
3.95
#7E861E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#7E861E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E861E
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E861E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E861E | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#877E72
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7e861e; /* rgb */ color: rgb(126, 134, 30); /* oklch */ color: oklch(59.4% 0.122 114.0);
Tailwind
colors: {
custom: {
50: '#a7a963',
500: '#7e861e',
950: '#000000',
},
}SCSS
$custom: #7e861e; $custom-light: #a7a963; $custom-dark: #000000;
JSON
{
"hex": "#7e861e",
"rgb": {
"r": 126,
"g": 134,
"b": 30
},
"hsl": {
"h": 64.615,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.59427,
"c": 0.12244,
"h": 114
},
"luminance": 0.2158
}Semantic roles & 50–950 ramp
primary
#7E861E
secondary
#5047B8
accent
#41E64E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A