#7E7528#7E7528
#7E7528 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.097 H 102.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7528 |
|---|---|
| RGB | rgb(126, 117, 40) |
| HSL | hsl(54, 52%, 33%) |
| HSV | hsv(54, 68%, 49%) |
| CMYK | cmyk(0%, 7.1%, 68.3%, 50.6%) |
| CIE-LAB | lab(48.65, -6.39, 42.11) |
| CIE-LCH | lch(48.65, 42.60, 98.62°) |
| OKLab | oklab(55.52% -0.0213 0.0951) |
| OKLCH | oklch(55.52% 0.097 102.6) |
| XYZ | xyz(15.3491, 17.3120, 4.5401) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.74
Brown Green
#706C11
ΔE00 4.48
Browny Green
#6F6C0A
ΔE00 4.88
Olive (survey)
#6E750E
ΔE00 5.54
Hazel
#8E7618
ΔE00 5.61
Olive Drab
#6F7632
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7528 #28317E
analogous
#7E4A28 #7E7528 #5C7E28
triadic
#7E7528 #287E75 #75287E
tetradic
#7E7528 #287E4A #28317E #7E285C
square
#7E7528 #287E4A #28317E #7E285C
split-complementary
#7E7528 #285C7E #4A287E
monochromatic
#211F0B #504A19 #7E7528 #ACA037 #CABE57
Accessibility & contrast
On white
4.71
#7E7528 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7E7528 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7528
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7528 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7528 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80711E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e7528; /* rgb */ color: rgb(126, 117, 40); /* oklch */ color: oklch(55.5% 0.097 102.6);
Tailwind
colors: {
custom: {
50: '#a69c66',
500: '#7e7528',
950: '#000000',
},
}SCSS
$custom: #7e7528; $custom-light: #a69c66; $custom-dark: #000000;
JSON
{
"hex": "#7e7528",
"rgb": {
"r": 126,
"g": 117,
"b": 40
},
"hsl": {
"h": 53.721,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.55515,
"c": 0.09741,
"h": 102.6
},
"luminance": 0.17311
}Semantic roles & 50–950 ramp
primary
#7E7528
secondary
#535DAF
accent
#5BDB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A