#7E801E#7E801E
#7E801E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.116 H 110.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7E801E |
|---|---|
| RGB | rgb(126, 128, 30) |
| HSL | hsl(61, 62%, 31%) |
| HSV | hsv(61, 77%, 50%) |
| CMYK | cmyk(1.6%, 0%, 76.6%, 49.8%) |
| CIE-LAB | lab(51.80, -12.99, 49.27) |
| CIE-LCH | lch(51.80, 50.95, 104.78°) |
| OKLab | oklab(58% -0.041 0.1083) |
| OKLCH | oklch(58% 0.116 110.7) |
| XYZ | xyz(16.5583, 19.9682, 4.2100) |
| Luminance | 0.1997 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.36
Shit Green
#758000
ΔE00 2.95
Poop Green
#6F7C00
ΔE00 3.95
Swamp Green
#748500
ΔE00 4.22
Murky Green
#6C7A0E
ΔE00 4.61
Olive (survey)
#6E750E
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E801E #201E80
analogous
#80511E #7E801E #4D801E
triadic
#7E801E #1E7E80 #801E7E
tetradic
#7E801E #1E8051 #201E80 #801E4D
square
#7E801E #1E8051 #201E80 #801E4D
split-complementary
#7E801E #1E4D80 #511E80
monochromatic
#1C1D07 #4D4E12 #7E801E #AFB22A #D0D345
Accessibility & contrast
On white
4.21
#7E801E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#7E801E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E801E
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E801E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E801E | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A08
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#87786D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e801e; /* rgb */ color: rgb(126, 128, 30); /* oklch */ color: oklch(58.0% 0.116 110.7);
Tailwind
colors: {
custom: {
50: '#a7a462',
500: '#7e801e',
950: '#000000',
},
}SCSS
$custom: #7e801e; $custom-light: #a7a462; $custom-dark: #000000;
JSON
{
"hex": "#7e801e",
"rgb": {
"r": 126,
"g": 128,
"b": 30
},
"hsl": {
"h": 61.224,
"s": 62.025,
"l": 30.98
},
"oklch": {
"l": 0.58003,
"c": 0.11581,
"h": 110.7
},
"luminance": 0.19968
}Semantic roles & 50–950 ramp
primary
#7E801E
secondary
#4947B3
accent
#43E546
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A