#7E742E#7E742E
#7E742E is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.091 H 101.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E742E |
|---|---|
| RGB | rgb(126, 116, 46) |
| HSL | hsl(53, 47%, 34%) |
| HSV | hsv(53, 63%, 49%) |
| CMYK | cmyk(0%, 7.9%, 63.5%, 50.6%) |
| CIE-LAB | lab(48.42, -5.41, 39.06) |
| CIE-LCH | lch(48.42, 39.43, 97.89°) |
| OKLab | oklab(55.35% -0.0178 0.0896) |
| OKLCH | oklch(55.35% 0.091 101.2) |
| XYZ | xyz(15.3433, 17.1243, 5.0813) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.58
Brown Green
#706C11
ΔE00 4.91
Browny Green
#6F6C0A
ΔE00 5.39
Olive Drab
#6F7632
ΔE00 5.72
Hazel
#8E7618
ΔE00 5.90
Olive (survey)
#6E750E
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E742E #2E387E
analogous
#7E4C2E #7E742E #607E2E
triadic
#7E742E #2E7E74 #742E7E
tetradic
#7E742E #2E7E4C #2E387E #7E2E60
square
#7E742E #2E7E4C #2E387E #7E2E60
split-complementary
#7E742E #2E607E #4C2E7E
monochromatic
#24210D #514B1E #7E742E #AB9D3E #C5B961
Accessibility & contrast
On white
4.75
#7E742E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#7E742E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E742E
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E742E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E742E | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7126
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#876C65
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e742e; /* rgb */ color: rgb(126, 116, 46); /* oklch */ color: oklch(55.3% 0.091 101.2);
Tailwind
colors: {
custom: {
50: '#a69b6a',
500: '#7e742e',
950: '#000000',
},
}SCSS
$custom: #7e742e; $custom-light: #a69b6a; $custom-dark: #000000;
JSON
{
"hex": "#7e742e",
"rgb": {
"r": 126,
"g": 116,
"b": 46
},
"hsl": {
"h": 52.5,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.55346,
"c": 0.09129,
"h": 101.2
},
"luminance": 0.17124
}Semantic roles & 50–950 ramp
primary
#7E742E
secondary
#5C66AC
accent
#62D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A