#7E772D#7E772D
#7E772D is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.095 H 103.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E772D |
|---|---|
| RGB | rgb(126, 119, 45) |
| HSL | hsl(55, 47%, 34%) |
| HSV | hsv(55, 64%, 49%) |
| CMYK | cmyk(0%, 5.6%, 64.3%, 50.6%) |
| CIE-LAB | lab(49.28, -7.17, 40.47) |
| CIE-LCH | lch(49.28, 41.10, 100.04°) |
| OKLab | oklab(56.03% -0.0229 0.0924) |
| OKLCH | oklch(56.03% 0.095 103.9) |
| XYZ | xyz(15.6752, 17.8193, 5.0959) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.70
Olive Drab
#6F7632
ΔE00 5.03
Brown Green
#706C11
ΔE00 5.11
Olive (survey)
#6E750E
ΔE00 5.45
Browny Green
#6F6C0A
ΔE00 5.48
Drab
#828344
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E772D #2D347E
analogous
#7E4E2D #7E772D #5C7E2D
triadic
#7E772D #2D7E77 #772D7E
tetradic
#7E772D #2D7E4E #2D347E #7E2D5C
square
#7E772D #2D7E4E #2D347E #7E2D5C
split-complementary
#7E772D #2D5C7E #4E2D7E
monochromatic
#24220D #514C1D #7E772D #ABA23D #C6BD5F
Accessibility & contrast
On white
4.60
#7E772D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#7E772D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E772D
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E772D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E772D | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#876F67
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e772d; /* rgb */ color: rgb(126, 119, 45); /* oklch */ color: oklch(56.0% 0.095 103.9);
Tailwind
colors: {
custom: {
50: '#a69e69',
500: '#7e772d',
950: '#000000',
},
}SCSS
$custom: #7e772d; $custom-light: #a69e69; $custom-dark: #000000;
JSON
{
"hex": "#7e772d",
"rgb": {
"r": 126,
"g": 119,
"b": 45
},
"hsl": {
"h": 54.815,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.56026,
"c": 0.09519,
"h": 103.9
},
"luminance": 0.17819
}Semantic roles & 50–950 ramp
primary
#7E772D
secondary
#5A61AC
accent
#5CD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A