#7A842E#7A842E
#7A842E is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.110 H 115.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7A842E |
|---|---|
| RGB | rgb(122, 132, 46) |
| HSL | hsl(67, 48%, 35%) |
| HSV | hsv(67, 65%, 52%) |
| CMYK | cmyk(7.6%, 0%, 65.2%, 48.2%) |
| CIE-LAB | lab(52.77, -15.99, 43.65) |
| CIE-LCH | lch(52.77, 46.49, 110.11°) |
| OKLab | oklab(58.74% -0.0474 0.0994) |
| OKLCH | oklch(58.74% 0.11 115.5) |
| XYZ | xyz(16.7708, 20.8376, 5.7228) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.48
Swamp Green
#748500
ΔE00 4.11
Shit Green
#758000
ΔE00 4.15
Drab
#828344
ΔE00 4.38
Poop Green
#6F7C00
ΔE00 4.80
Murky Green
#6C7A0E
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A842E #382E84
analogous
#84632E #7A842E #4F842E
triadic
#7A842E #2E7A84 #842E7A
tetradic
#7A842E #2E8463 #382E84 #842E4F
square
#7A842E #2E8463 #382E84 #842E4F
split-complementary
#7A842E #2E4F84 #632E84
monochromatic
#26290E #50571E #7A842E #A4B13E #BDC964
Accessibility & contrast
On white
4.06
#7A842E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#7A842E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A842E
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A842E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A842E | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#8C7F34
Tritanopia (blue-blind)
#827D72
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7a842e; /* rgb */ color: rgb(122, 132, 46); /* oklch */ color: oklch(58.7% 0.110 115.5);
Tailwind
colors: {
custom: {
50: '#a3a76b',
500: '#7a842e',
950: '#000000',
},
}SCSS
$custom: #7a842e; $custom-light: #a3a76b; $custom-dark: #000000;
JSON
{
"hex": "#7a842e",
"rgb": {
"r": 122,
"g": 132,
"b": 46
},
"hsl": {
"h": 66.977,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.58735,
"c": 0.11012,
"h": 115.5
},
"luminance": 0.20837
}Semantic roles & 50–950 ramp
primary
#7A842E
secondary
#685EB0
accent
#50D860
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A