#7E841D#7E841D
#7E841D is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.9% C 0.121 H 113.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7E841D |
|---|---|
| RGB | rgb(126, 132, 29) |
| HSL | hsl(63, 64%, 32%) |
| HSV | hsv(63, 78%, 52%) |
| CMYK | cmyk(4.5%, 0%, 78%, 48.2%) |
| CIE-LAB | lab(52.98, -15.18, 50.71) |
| CIE-LCH | lch(52.98, 52.93, 106.67°) |
| OKLab | oklab(58.95% -0.0471 0.1112) |
| OKLCH | oklch(58.95% 0.121 113) |
| XYZ | xyz(17.0778, 21.0272, 4.3212) |
| Luminance | 0.2103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.65
Olive
#808000
ΔE00 2.89
Swamp Green
#748500
ΔE00 3.05
Poop Green
#6F7C00
ΔE00 4.14
Murky Green
#6C7A0E
ΔE00 4.96
Olive Green
#677A04
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E841D #231D84
analogous
#84571D #7E841D #4B841D
triadic
#7E841D #1D7E84 #841D7E
tetradic
#7E841D #1D8457 #231D84 #841D4B
square
#7E841D #1D8457 #231D84 #841D4B
split-complementary
#7E841D #1D4B84 #571D84
monochromatic
#1E2007 #4E5212 #7E841D #AEB628 #CED645
Accessibility & contrast
On white
4.03
#7E841D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#7E841D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E841D
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E841D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E841D | 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)
#8E7D03
Deuteranopia (green-blind)
#8E8026
Tritanopia (blue-blind)
#877C71
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7e841d; /* rgb */ color: rgb(126, 132, 29); /* oklch */ color: oklch(58.9% 0.121 113.0);
Tailwind
colors: {
custom: {
50: '#a7a762',
500: '#7e841d',
950: '#000000',
},
}SCSS
$custom: #7e841d; $custom-light: #a7a762; $custom-dark: #000000;
JSON
{
"hex": "#7e841d",
"rgb": {
"r": 126,
"g": 132,
"b": 29
},
"hsl": {
"h": 63.495,
"s": 63.975,
"l": 31.569
},
"oklch": {
"l": 0.58945,
"c": 0.12077,
"h": 113
},
"luminance": 0.21027
}Semantic roles & 50–950 ramp
primary
#7E841D
secondary
#4C46B7
accent
#41E74A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A