#7A861E#7A861E
#7A861E is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.124 H 116.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7A861E |
|---|---|
| RGB | rgb(122, 134, 30) |
| HSL | hsl(67, 63%, 32%) |
| HSV | hsv(67, 78%, 53%) |
| CMYK | cmyk(9%, 0%, 77.6%, 47.5%) |
| CIE-LAB | lab(53.26, -17.99, 50.51) |
| CIE-LCH | lch(53.26, 53.62, 109.61°) |
| OKLab | oklab(59.09% -0.0546 0.1111) |
| OKLCH | oklch(59.09% 0.124 116.2) |
| XYZ | xyz(16.7859, 21.2818, 4.4516) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.13
Shit Green
#758000
ΔE00 2.82
Poop Green
#6F7C00
ΔE00 4.13
Olive
#808000
ΔE00 4.33
Dark Yellow Green
#728F02
ΔE00 4.55
Murky Green
#6C7A0E
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A861E #2A1E86
analogous
#865E1E #7A861E #46861E
triadic
#7A861E #1E7A86 #861E7A
tetradic
#7A861E #1E865E #2A1E86 #861E46
square
#7A861E #1E865E #2A1E86 #861E46
split-complementary
#7A861E #1E4686 #5E1E86
monochromatic
#1F2208 #4C5413 #7A861E #A8B829 #C6D648
Accessibility & contrast
On white
4.00
#7A861E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#7A861E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A861E
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A861E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A861E | 1.00 | 4.00 | 5.26 | 5.26 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#827E72
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7a861e; /* rgb */ color: rgb(122, 134, 30); /* oklch */ color: oklch(59.1% 0.124 116.2);
Tailwind
colors: {
custom: {
50: '#a4a963',
500: '#7a861e',
950: '#000000',
},
}SCSS
$custom: #7a861e; $custom-light: #a4a963; $custom-dark: #000000;
JSON
{
"hex": "#7a861e",
"rgb": {
"r": 122,
"g": 134,
"b": 30
},
"hsl": {
"h": 66.923,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.59088,
"c": 0.12378,
"h": 116.2
},
"luminance": 0.21282
}Semantic roles & 50–950 ramp
primary
#7A861E
secondary
#5547B8
accent
#41E654
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A