#7E772A#7E772A
#7E772A is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.098 H 104.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E772A |
|---|---|
| RGB | rgb(126, 119, 42) |
| HSL | hsl(55, 50%, 33%) |
| HSV | hsv(55, 67%, 49%) |
| CMYK | cmyk(0%, 5.6%, 66.7%, 50.6%) |
| CIE-LAB | lab(49.25, -7.37, 41.83) |
| CIE-LCH | lch(49.25, 42.48, 100.00°) |
| OKLab | oklab(56% -0.0238 0.0948) |
| OKLCH | oklch(56% 0.098 104.1) |
| XYZ | xyz(15.6195, 17.7970, 4.8024) |
| Luminance | 0.1780 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.31
Brown Green
#706C11
ΔE00 4.90
Olive (survey)
#6E750E
ΔE00 5.20
Olive Drab
#6F7632
ΔE00 5.20
Browny Green
#6F6C0A
ΔE00 5.25
Olive
#808000
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E772A #2A317E
analogous
#7E4D2A #7E772A #5B7E2A
triadic
#7E772A #2A7E77 #772A7E
tetradic
#7E772A #2A7E4D #2A317E #7E2A5B
square
#7E772A #2A7E4D #2A317E #7E2A5B
split-complementary
#7E772A #2A5B7E #4D2A7E
monochromatic
#22200B #504C1B #7E772A #ACA239 #C8BF5A
Accessibility & contrast
On white
4.61
#7E772A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#7E772A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E772A
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E772A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E772A | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#876F67
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e772a; /* rgb */ color: rgb(126, 119, 42); /* oklch */ color: oklch(56.0% 0.098 104.1);
Tailwind
colors: {
custom: {
50: '#a69e68',
500: '#7e772a',
950: '#000000',
},
}SCSS
$custom: #7e772a; $custom-light: #a69e68; $custom-dark: #000000;
JSON
{
"hex": "#7e772a",
"rgb": {
"r": 126,
"g": 119,
"b": 42
},
"hsl": {
"h": 55,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.55996,
"c": 0.09776,
"h": 104.1
},
"luminance": 0.17796
}Semantic roles & 50–950 ramp
primary
#7E772A
secondary
#565DAE
accent
#5ADA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A