#7A792A#7A792A
#7A792A is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.100 H 108.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7A792A |
|---|---|
| RGB | rgb(122, 121, 42) |
| HSL | hsl(59, 49%, 32%) |
| HSV | hsv(59, 66%, 48%) |
| CMYK | cmyk(0%, 0.8%, 65.6%, 52.2%) |
| CIE-LAB | lab(49.47, -10.32, 41.96) |
| CIE-LCH | lch(49.47, 43.21, 103.82°) |
| OKLab | oklab(56.08% -0.0319 0.0952) |
| OKLCH | oklch(56.08% 0.1 108.5) |
| XYZ | xyz(15.2818, 17.9799, 4.8555) |
| Luminance | 0.1798 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.81
Olive (survey)
#6E750E
ΔE00 3.96
Murky Green
#6C7A0E
ΔE00 4.87
Drab
#828344
ΔE00 5.01
Poop Green
#6F7C00
ΔE00 5.14
Olive
#808000
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A792A #2A2B7A
analogous
#7A512A #7A792A #537A2A
triadic
#7A792A #2A7A79 #792A7A
tetradic
#7A792A #2A7A51 #2A2B7A #7A2A53
square
#7A792A #2A7A51 #2A2B7A #7A2A53
split-complementary
#7A792A #2A537A #512A7A
monochromatic
#1F1F0B #4C4C1A #7A792A #A8A63A #C6C459
Accessibility & contrast
On white
4.57
#7A792A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7A792A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A792A
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A792A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A792A | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837420
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#837169
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7a792a; /* rgb */ color: rgb(122, 121, 42); /* oklch */ color: oklch(56.1% 0.100 108.5);
Tailwind
colors: {
custom: {
50: '#a39f68',
500: '#7a792a',
950: '#000000',
},
}SCSS
$custom: #7a792a; $custom-light: #a39f68; $custom-dark: #000000;
JSON
{
"hex": "#7a792a",
"rgb": {
"r": 122,
"g": 121,
"b": 42
},
"hsl": {
"h": 59.25,
"s": 48.78,
"l": 32.157
},
"oklch": {
"l": 0.56085,
"c": 0.10041,
"h": 108.5
},
"luminance": 0.17979
}Semantic roles & 50–950 ramp
primary
#7A792A
secondary
#5556AB
accent
#51D84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A