#7E772E#7E772E
#7E772E is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.094 H 103.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E772E |
|---|---|
| RGB | rgb(126, 119, 46) |
| HSL | hsl(55, 47%, 34%) |
| HSV | hsv(55, 63%, 49%) |
| CMYK | cmyk(0%, 5.6%, 63.5%, 50.6%) |
| CIE-LAB | lab(49.29, -7.09, 40.01) |
| CIE-LCH | lch(49.29, 40.63, 100.06°) |
| OKLab | oklab(56.04% -0.0226 0.0916) |
| OKLCH | oklch(56.04% 0.094 103.8) |
| XYZ | xyz(15.6947, 17.8271, 5.1985) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.84
Olive Drab
#6F7632
ΔE00 4.98
Brown Green
#706C11
ΔE00 5.18
Drab
#828344
ΔE00 5.44
Olive (survey)
#6E750E
ΔE00 5.54
Browny Green
#6F6C0A
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E772E #2E357E
analogous
#7E4F2E #7E772E #5D7E2E
triadic
#7E772E #2E7E77 #772E7E
tetradic
#7E772E #2E7E4F #2E357E #7E2E5D
square
#7E772E #2E7E4F #2E357E #7E2E5D
split-complementary
#7E772E #2E5D7E #4F2E7E
monochromatic
#24220D #514D1E #7E772E #ABA13E #C5BD61
Accessibility & contrast
On white
4.60
#7E772E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#7E772E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E772E
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E772E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E772E | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#876F67
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e772e; /* rgb */ color: rgb(126, 119, 46); /* oklch */ color: oklch(56.0% 0.094 103.8);
Tailwind
colors: {
custom: {
50: '#a69e6a',
500: '#7e772e',
950: '#000000',
},
}SCSS
$custom: #7e772e; $custom-light: #a69e6a; $custom-dark: #000000;
JSON
{
"hex": "#7e772e",
"rgb": {
"r": 126,
"g": 119,
"b": 46
},
"hsl": {
"h": 54.75,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.56037,
"c": 0.09431,
"h": 103.8
},
"luminance": 0.17827
}Semantic roles & 50–950 ramp
primary
#7E772E
secondary
#5C63AC
accent
#5DD652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A