#7E801A#7E801A
#7E801A is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.118 H 110.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7E801A |
|---|---|
| RGB | rgb(126, 128, 26) |
| HSL | hsl(61, 66%, 30%) |
| HSV | hsv(61, 80%, 50%) |
| CMYK | cmyk(1.6%, 0%, 79.7%, 49.8%) |
| CIE-LAB | lab(51.78, -13.17, 50.61) |
| CIE-LCH | lch(51.78, 52.30, 104.59°) |
| OKLab | oklab(57.98% -0.0418 0.1104) |
| OKLCH | oklch(57.98% 0.118 110.7) |
| XYZ | xyz(16.5104, 19.9490, 3.9579) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.96
Shit Green
#758000
ΔE00 2.74
Poop Green
#6F7C00
ΔE00 3.85
Swamp Green
#748500
ΔE00 4.09
Murky Green
#6C7A0E
ΔE00 4.62
Olive (survey)
#6E750E
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E801A #1C1A80
analogous
#804F1A #7E801A #4B801A
triadic
#7E801A #1A7E80 #801A7E
tetradic
#7E801A #1A804F #1C1A80 #801A4B
square
#7E801A #1A804F #1C1A80 #801A4B
split-complementary
#7E801A #1A4B80 #4F1A80
monochromatic
#1A1A05 #4C4D10 #7E801A #B0B324 #D5D83D
Accessibility & contrast
On white
4.21
#7E801A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#7E801A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E801A
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E801A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E801A | 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)
#8B7A00
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#87776D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e801a; /* rgb */ color: rgb(126, 128, 26); /* oklch */ color: oklch(58.0% 0.118 110.7);
Tailwind
colors: {
custom: {
50: '#a7a460',
500: '#7e801a',
950: '#000000',
},
}SCSS
$custom: #7e801a; $custom-light: #a7a460; $custom-dark: #000000;
JSON
{
"hex": "#7e801a",
"rgb": {
"r": 126,
"g": 128,
"b": 26
},
"hsl": {
"h": 61.176,
"s": 66.234,
"l": 30.196
},
"oklch": {
"l": 0.57979,
"c": 0.11805,
"h": 110.7
},
"luminance": 0.19949
}Semantic roles & 50–950 ramp
primary
#7E801A
secondary
#4442B4
accent
#3FE942
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79