#7A811E#7A811E
#7A811E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.9% C 0.118 H 113.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7A811E |
|---|---|
| RGB | rgb(122, 129, 30) |
| HSL | hsl(64, 62%, 31%) |
| HSV | hsv(64, 77%, 51%) |
| CMYK | cmyk(5.4%, 0%, 76.7%, 49.4%) |
| CIE-LAB | lab(51.76, -15.36, 49.11) |
| CIE-LCH | lch(51.76, 51.45, 107.36°) |
| OKLab | oklab(57.89% -0.0473 0.1081) |
| OKLCH | oklch(57.89% 0.118 113.6) |
| XYZ | xyz(16.1111, 19.9322, 4.2266) |
| Luminance | 0.1993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.19
Swamp Green
#748500
ΔE00 3.13
Poop Green
#6F7C00
ΔE00 3.16
Olive
#808000
ΔE00 3.24
Murky Green
#6C7A0E
ΔE00 3.75
Olive (survey)
#6E750E
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A811E #251E81
analogous
#81561E #7A811E #48811E
triadic
#7A811E #1E7A81 #811E7A
tetradic
#7A811E #1E8156 #251E81 #811E48
square
#7A811E #1E8156 #251E81 #811E48
split-complementary
#7A811E #1E4881 #561E81
monochromatic
#1C1E07 #4B4F12 #7A811E #A9B32A #CAD446
Accessibility & contrast
On white
4.21
#7A811E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#7A811E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A811E
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A811E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A811E | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A08
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#83796E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7a811e; /* rgb */ color: rgb(122, 129, 30); /* oklch */ color: oklch(57.9% 0.118 113.6);
Tailwind
colors: {
custom: {
50: '#a3a562',
500: '#7a811e',
950: '#000000',
},
}SCSS
$custom: #7a811e; $custom-light: #a3a562; $custom-dark: #000000;
JSON
{
"hex": "#7a811e",
"rgb": {
"r": 122,
"g": 129,
"b": 30
},
"hsl": {
"h": 64.242,
"s": 62.264,
"l": 31.176
},
"oklch": {
"l": 0.57888,
"c": 0.11802,
"h": 113.6
},
"luminance": 0.19932
}Semantic roles & 50–950 ramp
primary
#7A811E
secondary
#4E47B4
accent
#42E54E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A