#7D841E#7D841E
#7D841E is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.9% C 0.120 H 113.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7D841E |
|---|---|
| RGB | rgb(125, 132, 30) |
| HSL | hsl(64, 63%, 32%) |
| HSV | hsv(64, 77%, 52%) |
| CMYK | cmyk(5.3%, 0%, 77.3%, 48.2%) |
| CIE-LAB | lab(52.90, -15.59, 50.27) |
| CIE-LCH | lch(52.90, 52.63, 107.23°) |
| OKLab | oklab(58.86% -0.0481 0.1105) |
| OKLCH | oklch(58.86% 0.121 113.5) |
| XYZ | xyz(16.9436, 20.9566, 4.3805) |
| Luminance | 0.2096 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.58
Swamp Green
#748500
ΔE00 2.89
Olive
#808000
ΔE00 3.16
Poop Green
#6F7C00
ΔE00 4.01
Murky Green
#6C7A0E
ΔE00 4.78
Olive Green
#677A04
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D841E #251E84
analogous
#84581E #7D841E #4A841E
triadic
#7D841E #1E7D84 #841E7D
tetradic
#7D841E #1E8458 #251E84 #841E4A
square
#7D841E #1E8458 #251E84 #841E4A
split-complementary
#7D841E #1E4A84 #581E84
monochromatic
#1F2007 #4E5213 #7D841E #ACB629 #CBD547
Accessibility & contrast
On white
4.05
#7D841E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#7D841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D841E
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D841E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D841E | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#867C71
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7d841e; /* rgb */ color: rgb(125, 132, 30); /* oklch */ color: oklch(58.9% 0.120 113.5);
Tailwind
colors: {
custom: {
50: '#a6a763',
500: '#7d841e',
950: '#000000',
},
}SCSS
$custom: #7d841e; $custom-light: #a6a763; $custom-dark: #000000;
JSON
{
"hex": "#7d841e",
"rgb": {
"r": 125,
"g": 132,
"b": 30
},
"hsl": {
"h": 64.118,
"s": 62.963,
"l": 31.765
},
"oklch": {
"l": 0.58864,
"c": 0.1205,
"h": 113.5
},
"luminance": 0.20956
}Semantic roles & 50–950 ramp
primary
#7D841E
secondary
#4F47B7
accent
#42E64D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A