#7A862E#7A862E
#7A862E is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.113 H 116.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7A862E |
|---|---|
| RGB | rgb(122, 134, 46) |
| HSL | hsl(68, 49%, 35%) |
| HSV | hsv(68, 66%, 53%) |
| CMYK | cmyk(9%, 0%, 65.7%, 47.5%) |
| CIE-LAB | lab(53.37, -17.04, 44.29) |
| CIE-LCH | lch(53.37, 47.45, 111.05°) |
| OKLab | oklab(59.21% -0.0504 0.1007) |
| OKLCH | oklch(59.21% 0.113 116.6) |
| XYZ | xyz(17.0446, 21.3852, 5.8141) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.23
Swamp Green
#748500
ΔE00 3.92
Shit Green
#758000
ΔE00 4.36
Drab
#828344
ΔE00 4.80
Poop Green
#6F7C00
ΔE00 5.14
Dirty Green
#667E2C
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A862E #3A2E86
analogous
#86662E #7A862E #4E862E
triadic
#7A862E #2E7A86 #862E7A
tetradic
#7A862E #2E8666 #3A2E86 #862E4E
square
#7A862E #2E8666 #3A2E86 #862E4E
split-complementary
#7A862E #2E4E86 #662E86
monochromatic
#272B0F #51581E #7A862E #A3B43E #BCCA64
Accessibility & contrast
On white
3.98
#7A862E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#7A862E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A862E
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A862E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A862E | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#817F74
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7a862e; /* rgb */ color: rgb(122, 134, 46); /* oklch */ color: oklch(59.2% 0.113 116.6);
Tailwind
colors: {
custom: {
50: '#a3a96b',
500: '#7a862e',
950: '#000000',
},
}SCSS
$custom: #7a862e; $custom-light: #a3a96b; $custom-dark: #000000;
JSON
{
"hex": "#7a862e",
"rgb": {
"r": 122,
"g": 134,
"b": 46
},
"hsl": {
"h": 68.182,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.59214,
"c": 0.11262,
"h": 116.6
},
"luminance": 0.21385
}Semantic roles & 50–950 ramp
primary
#7A862E
secondary
#6A5FB1
accent
#4FD862
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A