#7A772E#7A772E
#7A772E is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.095 H 106.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7A772E |
|---|---|
| RGB | rgb(122, 119, 46) |
| HSL | hsl(58, 45%, 33%) |
| HSV | hsv(58, 62%, 48%) |
| CMYK | cmyk(0%, 2.5%, 62.3%, 52.2%) |
| CIE-LAB | lab(48.92, -8.93, 39.50) |
| CIE-LCH | lch(48.92, 40.50, 102.74°) |
| OKLab | oklab(55.66% -0.0275 0.0906) |
| OKLCH | oklch(55.66% 0.095 106.9) |
| XYZ | xyz(15.1165, 17.5290, 5.1714) |
| Luminance | 0.1753 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.65
Olive (survey)
#6E750E
ΔE00 4.62
Brown Green
#706C11
ΔE00 4.93
Drab
#828344
ΔE00 5.16
Browny Green
#6F6C0A
ΔE00 5.28
Brownish Green
#6A6E09
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A772E #2E317A
analogous
#7A512E #7A772E #577A2E
triadic
#7A772E #2E7A77 #772E7A
tetradic
#7A772E #2E7A51 #2E317A #7A2E57
square
#7A772E #2E7A51 #2E317A #7A2E57
split-complementary
#7A772E #2E577A #512E7A
monochromatic
#21200C #4E4C1D #7A772E #A6A23F #C3BF60
Accessibility & contrast
On white
4.66
#7A772E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7A772E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A772E
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A772E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A772E | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#836F67
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7a772e; /* rgb */ color: rgb(122, 119, 46); /* oklch */ color: oklch(55.7% 0.095 106.9);
Tailwind
colors: {
custom: {
50: '#a39e6a',
500: '#7a772e',
950: '#000000',
},
}SCSS
$custom: #7a772e; $custom-light: #a39e6a; $custom-dark: #000000;
JSON
{
"hex": "#7a772e",
"rgb": {
"r": 122,
"g": 119,
"b": 46
},
"hsl": {
"h": 57.632,
"s": 45.238,
"l": 32.941
},
"oklch": {
"l": 0.55657,
"c": 0.09468,
"h": 106.9
},
"luminance": 0.17528
}Semantic roles & 50–950 ramp
primary
#7A772E
secondary
#5A5DAA
accent
#58D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A