#7E752F#7E752F
#7E752F is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.091 H 102.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7E752F |
|---|---|
| RGB | rgb(126, 117, 47) |
| HSL | hsl(53, 46%, 34%) |
| HSV | hsv(53, 63%, 49%) |
| CMYK | cmyk(0%, 7.1%, 62.7%, 50.6%) |
| CIE-LAB | lab(48.72, -5.90, 38.90) |
| CIE-LCH | lch(48.72, 39.34, 98.62°) |
| OKLab | oklab(55.59% -0.019 0.0894) |
| OKLCH | oklch(55.59% 0.091 102) |
| XYZ | xyz(15.4791, 17.3640, 5.2250) |
| Luminance | 0.1736 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.77
Brown Green
#706C11
ΔE00 5.05
Olive Drab
#6F7632
ΔE00 5.40
Browny Green
#6F6C0A
ΔE00 5.51
Drab
#828344
ΔE00 6.10
Hazel
#8E7618
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E752F #2F387E
analogous
#7E4E2F #7E752F #607E2F
triadic
#7E752F #2F7E75 #752F7E
tetradic
#7E752F #2F7E4E #2F387E #7E2F60
square
#7E752F #2F7E4E #2F387E #7E2F60
split-complementary
#7E752F #2F607E #4E2F7E
monochromatic
#25220E #514C1E #7E752F #AB9E40 #C5BA63
Accessibility & contrast
On white
4.70
#7E752F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7E752F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E752F
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E752F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E752F | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#827533
Tritanopia (blue-blind)
#876D66
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e752f; /* rgb */ color: rgb(126, 117, 47); /* oklch */ color: oklch(55.6% 0.091 102.0);
Tailwind
colors: {
custom: {
50: '#a69c6b',
500: '#7e752f',
950: '#000000',
},
}SCSS
$custom: #7e752f; $custom-light: #a69c6b; $custom-dark: #000000;
JSON
{
"hex": "#7e752f",
"rgb": {
"r": 126,
"g": 117,
"b": 47
},
"hsl": {
"h": 53.165,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.55587,
"c": 0.09136,
"h": 102
},
"luminance": 0.17363
}Semantic roles & 50–950 ramp
primary
#7E752F
secondary
#5D66AC
accent
#61D552
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A