#7E801D#7E801D
#7E801D 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 | #7E801D |
|---|---|
| RGB | rgb(126, 128, 29) |
| HSL | hsl(61, 63%, 31%) |
| HSV | hsv(61, 77%, 50%) |
| CMYK | cmyk(1.6%, 0%, 77.3%, 49.8%) |
| CIE-LAB | lab(51.80, -13.04, 49.61) |
| CIE-LCH | lch(51.80, 51.30, 104.73°) |
| OKLab | oklab(58% -0.0412 0.1089) |
| OKLCH | oklch(58% 0.116 110.7) |
| XYZ | xyz(16.5457, 19.9631, 4.1439) |
| Luminance | 0.1996 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.26
Shit Green
#758000
ΔE00 2.89
Poop Green
#6F7C00
ΔE00 3.92
Swamp Green
#748500
ΔE00 4.19
Murky Green
#6C7A0E
ΔE00 4.61
Olive (survey)
#6E750E
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E801D #1F1D80
analogous
#80501D #7E801D #4C801D
triadic
#7E801D #1D7E80 #801D7E
tetradic
#7E801D #1D8050 #1F1D80 #801D4C
square
#7E801D #1D8050 #1F1D80 #801D4C
split-complementary
#7E801D #1D4C80 #501D80
monochromatic
#1C1C06 #4D4E12 #7E801D #AFB228 #D1D443
Accessibility & contrast
On white
4.21
#7E801D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#7E801D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E801D
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E801D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E801D | 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)
#8B7A06
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#87786D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e801d; /* rgb */ color: rgb(126, 128, 29); /* oklch */ color: oklch(58.0% 0.116 110.7);
Tailwind
colors: {
custom: {
50: '#a7a462',
500: '#7e801d',
950: '#000000',
},
}SCSS
$custom: #7e801d; $custom-light: #a7a462; $custom-dark: #000000;
JSON
{
"hex": "#7e801d",
"rgb": {
"r": 126,
"g": 128,
"b": 29
},
"hsl": {
"h": 61.212,
"s": 63.057,
"l": 30.784
},
"oklch": {
"l": 0.57997,
"c": 0.11639,
"h": 110.7
},
"luminance": 0.19963
}Semantic roles & 50–950 ramp
primary
#7E801D
secondary
#4845B3
accent
#42E645
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A