#7E722D#7E722D
#7E722D is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.090 H 99.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E722D |
|---|---|
| RGB | rgb(126, 114, 45) |
| HSL | hsl(51, 47%, 34%) |
| HSV | hsv(51, 64%, 49%) |
| CMYK | cmyk(0%, 9.5%, 64.3%, 50.6%) |
| CIE-LAB | lab(47.83, -4.35, 38.90) |
| CIE-LCH | lch(47.83, 39.14, 96.38°) |
| OKLab | oklab(54.88% -0.0149 0.0891) |
| OKLCH | oklch(54.88% 0.09 99.5) |
| XYZ | xyz(15.0958, 16.6604, 4.9027) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.51
Brown Green
#706C11
ΔE00 4.88
Browny Green
#6F6C0A
ΔE00 5.40
Hazel
#8E7618
ΔE00 5.67
Olive Drab
#6F7632
ΔE00 6.39
Brownish Green
#6A6E09
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E722D #2D397E
analogous
#7E492D #7E722D #617E2D
triadic
#7E722D #2D7E72 #722D7E
tetradic
#7E722D #2D7E49 #2D397E #7E2D61
square
#7E722D #2D7E49 #2D397E #7E2D61
split-complementary
#7E722D #2D617E #492D7E
monochromatic
#24200D #51491D #7E722D #AB9B3D #C6B75F
Accessibility & contrast
On white
4.85
#7E722D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7E722D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E722D
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E722D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E722D | 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)
#7D6F25
Deuteranopia (green-blind)
#807331
Tritanopia (blue-blind)
#886A63
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7e722d; /* rgb */ color: rgb(126, 114, 45); /* oklch */ color: oklch(54.9% 0.090 99.5);
Tailwind
colors: {
custom: {
50: '#a69a69',
500: '#7e722d',
950: '#000000',
},
}SCSS
$custom: #7e722d; $custom-light: #a69a69; $custom-dark: #000000;
JSON
{
"hex": "#7e722d",
"rgb": {
"r": 126,
"g": 114,
"b": 45
},
"hsl": {
"h": 51.111,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.54877,
"c": 0.09029,
"h": 99.5
},
"luminance": 0.1666
}Semantic roles & 50–950 ramp
primary
#7E722D
secondary
#5A67AC
accent
#65D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A