#7E841E#7E841E
#7E841E is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 59.0% C 0.120 H 113.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7E841E |
|---|---|
| RGB | rgb(126, 132, 30) |
| HSL | hsl(64, 63%, 32%) |
| HSV | hsv(64, 77%, 52%) |
| CMYK | cmyk(4.5%, 0%, 77.3%, 48.2%) |
| CIE-LAB | lab(52.98, -15.14, 50.37) |
| CIE-LCH | lch(52.98, 52.60, 106.73°) |
| OKLab | oklab(58.95% -0.0469 0.1107) |
| OKLCH | oklch(58.95% 0.12 113) |
| XYZ | xyz(17.0903, 21.0323, 4.3874) |
| Luminance | 0.2103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.71
Olive
#808000
ΔE00 2.97
Swamp Green
#748500
ΔE00 3.10
Poop Green
#6F7C00
ΔE00 4.17
Murky Green
#6C7A0E
ΔE00 4.96
Drab
#828344
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E841E #241E84
analogous
#84571E #7E841E #4B841E
triadic
#7E841E #1E7E84 #841E7E
tetradic
#7E841E #1E8457 #241E84 #841E4B
square
#7E841E #1E8457 #241E84 #841E4B
split-complementary
#7E841E #1E4B84 #571E84
monochromatic
#1F2007 #4E5213 #7E841E #AEB629 #CDD547
Accessibility & contrast
On white
4.03
#7E841E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#7E841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E841E
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E841E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E841E | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#8E8027
Tritanopia (blue-blind)
#877C71
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7e841e; /* rgb */ color: rgb(126, 132, 30); /* oklch */ color: oklch(59.0% 0.120 113.0);
Tailwind
colors: {
custom: {
50: '#a7a763',
500: '#7e841e',
950: '#000000',
},
}SCSS
$custom: #7e841e; $custom-light: #a7a763; $custom-dark: #000000;
JSON
{
"hex": "#7e841e",
"rgb": {
"r": 126,
"g": 132,
"b": 30
},
"hsl": {
"h": 63.529,
"s": 62.963,
"l": 31.765
},
"oklch": {
"l": 0.58951,
"c": 0.1202,
"h": 113
},
"luminance": 0.21032
}Semantic roles & 50–950 ramp
primary
#7E841E
secondary
#4E47B7
accent
#42E64B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A