#7A792F#7A792F
#7A792F is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.096 H 108.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7A792F |
|---|---|
| RGB | rgb(122, 121, 47) |
| HSL | hsl(59, 44%, 33%) |
| HSV | hsv(59, 61%, 48%) |
| CMYK | cmyk(0%, 0.8%, 61.5%, 52.2%) |
| CIE-LAB | lab(49.52, -9.96, 39.68) |
| CIE-LCH | lch(49.52, 40.91, 104.09°) |
| OKLab | oklab(56.14% -0.0303 0.0911) |
| OKLCH | oklch(56.14% 0.096 108.4) |
| XYZ | xyz(15.3770, 18.0180, 5.3566) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.40
Olive (survey)
#6E750E
ΔE00 4.51
Drab
#828344
ΔE00 4.52
Murky Green
#6C7A0E
ΔE00 5.33
Brown Green
#706C11
ΔE00 5.55
Poop Green
#6F7C00
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A792F #2F307A
analogous
#7A532F #7A792F #557A2F
triadic
#7A792F #2F7A79 #792F7A
tetradic
#7A792F #2F7A53 #2F307A #7A2F55
square
#7A792F #2F7A53 #2F307A #7A2F55
split-complementary
#7A792F #2F557A #532F7A
monochromatic
#22210D #4E4D1E #7A792F #A6A540 #C2C161
Accessibility & contrast
On white
4.56
#7A792F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7A792F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A792F
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A792F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A792F | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 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)
#827427
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#827269
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7a792f; /* rgb */ color: rgb(122, 121, 47); /* oklch */ color: oklch(56.1% 0.096 108.4);
Tailwind
colors: {
custom: {
50: '#a39f6b',
500: '#7a792f',
950: '#000000',
},
}SCSS
$custom: #7a792f; $custom-light: #a39f6b; $custom-dark: #000000;
JSON
{
"hex": "#7a792f",
"rgb": {
"r": 122,
"g": 121,
"b": 47
},
"hsl": {
"h": 59.2,
"s": 44.379,
"l": 33.137
},
"oklch": {
"l": 0.56137,
"c": 0.09603,
"h": 108.4
},
"luminance": 0.18018
}Semantic roles & 50–950 ramp
primary
#7A792F
secondary
#5C5DA9
accent
#55D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A