#7E862A#7E862A
#7E862A is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.5% C 0.114 H 114.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7E862A |
|---|---|
| RGB | rgb(126, 134, 42) |
| HSL | hsl(65, 52%, 35%) |
| HSV | hsv(65, 69%, 53%) |
| CMYK | cmyk(6%, 0%, 68.7%, 47.5%) |
| CIE-LAB | lab(53.66, -15.54, 46.41) |
| CIE-LCH | lch(53.66, 48.95, 108.51°) |
| OKLab | oklab(59.51% -0.0468 0.1045) |
| OKLCH | oklch(59.51% 0.114 114.2) |
| XYZ | xyz(17.5477, 21.6533, 5.4452) |
| Luminance | 0.2165 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 3.69
Shit Green
#758000
ΔE00 3.86
Olive
#808000
ΔE00 4.53
Khaki Green
#728639
ΔE00 4.62
Drab
#828344
ΔE00 4.87
Poop Green
#6F7C00
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E862A #322A86
analogous
#86602A #7E862A #50862A
triadic
#7E862A #2A7E86 #862A7E
tetradic
#7E862A #2A8660 #322A86 #862A50
square
#7E862A #2A8660 #322A86 #862A50
split-complementary
#7E862A #2A5086 #602A86
monochromatic
#26290D #52571B #7E862A #AAB539 #C3CD5E
Accessibility & contrast
On white
3.94
#7E862A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#7E862A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E862A
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E862A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E862A | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F1D
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#867E73
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7e862a; /* rgb */ color: rgb(126, 134, 42); /* oklch */ color: oklch(59.5% 0.114 114.2);
Tailwind
colors: {
custom: {
50: '#a6a969',
500: '#7e862a',
950: '#000000',
},
}SCSS
$custom: #7e862a; $custom-light: #a6a969; $custom-dark: #000000;
JSON
{
"hex": "#7e862a",
"rgb": {
"r": 126,
"g": 134,
"b": 42
},
"hsl": {
"h": 65.217,
"s": 52.273,
"l": 34.51
},
"oklch": {
"l": 0.59515,
"c": 0.11449,
"h": 114.2
},
"luminance": 0.21653
}Semantic roles & 50–950 ramp
primary
#7E862A
secondary
#615AB2
accent
#4CDC59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A