#7E722E#7E722E
#7E722E is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.089 H 99.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E722E |
|---|---|
| RGB | rgb(126, 114, 46) |
| HSL | hsl(51, 47%, 34%) |
| HSV | hsv(51, 63%, 49%) |
| CMYK | cmyk(0%, 9.5%, 63.5%, 50.6%) |
| CIE-LAB | lab(47.84, -4.28, 38.42) |
| CIE-LCH | lch(47.84, 38.66, 96.35°) |
| OKLab | oklab(54.89% -0.0145 0.0882) |
| OKLCH | oklch(54.89% 0.089 99.3) |
| XYZ | xyz(15.1152, 16.6682, 5.0053) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.68
Brown Green
#706C11
ΔE00 4.99
Browny Green
#6F6C0A
ΔE00 5.52
Hazel
#8E7618
ΔE00 5.77
Olive Drab
#6F7632
ΔE00 6.37
Brownish Green
#6A6E09
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E722E #2E3A7E
analogous
#7E4A2E #7E722E #627E2E
triadic
#7E722E #2E7E72 #722E7E
tetradic
#7E722E #2E7E4A #2E3A7E #7E2E62
square
#7E722E #2E7E4A #2E3A7E #7E2E62
split-complementary
#7E722E #2E627E #4A2E7E
monochromatic
#24210D #51491E #7E722E #AB9B3E #C5B661
Accessibility & contrast
On white
4.85
#7E722E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7E722E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E722E
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E722E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E722E | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6F27
Deuteranopia (green-blind)
#807331
Tritanopia (blue-blind)
#876A63
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7e722e; /* rgb */ color: rgb(126, 114, 46); /* oklch */ color: oklch(54.9% 0.089 99.3);
Tailwind
colors: {
custom: {
50: '#a69a6a',
500: '#7e722e',
950: '#000000',
},
}SCSS
$custom: #7e722e; $custom-light: #a69a6a; $custom-dark: #000000;
JSON
{
"hex": "#7e722e",
"rgb": {
"r": 126,
"g": 114,
"b": 46
},
"hsl": {
"h": 51,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.54888,
"c": 0.08939,
"h": 99.3
},
"luminance": 0.16668
}Semantic roles & 50–950 ramp
primary
#7E722E
secondary
#5C68AC
accent
#66D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A