#7E752A#7E752A
#7E752A is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.096 H 102.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7E752A |
|---|---|
| RGB | rgb(126, 117, 42) |
| HSL | hsl(54, 50%, 33%) |
| HSV | hsv(54, 67%, 49%) |
| CMYK | cmyk(0%, 7.1%, 66.7%, 50.6%) |
| CIE-LAB | lab(48.67, -6.25, 41.22) |
| CIE-LCH | lch(48.67, 41.69, 98.63°) |
| OKLab | oklab(55.53% -0.0207 0.0935) |
| OKLCH | oklch(55.53% 0.096 102.5) |
| XYZ | xyz(15.3840, 17.3260, 4.7239) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.02
Brown Green
#706C11
ΔE00 4.62
Browny Green
#6F6C0A
ΔE00 5.03
Olive Drab
#6F7632
ΔE00 5.61
Olive (survey)
#6E750E
ΔE00 5.69
Hazel
#8E7618
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E752A #2A337E
analogous
#7E4B2A #7E752A #5D7E2A
triadic
#7E752A #2A7E75 #752A7E
tetradic
#7E752A #2A7E4B #2A337E #7E2A5D
square
#7E752A #2A7E4B #2A337E #7E2A5D
split-complementary
#7E752A #2A5D7E #4B2A7E
monochromatic
#22200B #504A1B #7E752A #ACA039 #C8BC5A
Accessibility & contrast
On white
4.70
#7E752A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7E752A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E752A
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E752A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E752A | 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)
#807121
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e752a; /* rgb */ color: rgb(126, 117, 42); /* oklch */ color: oklch(55.5% 0.096 102.5);
Tailwind
colors: {
custom: {
50: '#a69c67',
500: '#7e752a',
950: '#000000',
},
}SCSS
$custom: #7e752a; $custom-light: #a69c67; $custom-dark: #000000;
JSON
{
"hex": "#7e752a",
"rgb": {
"r": 126,
"g": 117,
"b": 42
},
"hsl": {
"h": 53.571,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.55534,
"c": 0.09577,
"h": 102.5
},
"luminance": 0.17325
}Semantic roles & 50–950 ramp
primary
#7E752A
secondary
#565FAE
accent
#5DDA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A