#7E7520#7E7520
#7E7520 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.103 H 103.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7520 |
|---|---|
| RGB | rgb(126, 117, 32) |
| HSL | hsl(54, 59%, 31%) |
| HSV | hsv(54, 75%, 49%) |
| CMYK | cmyk(0%, 7.1%, 74.6%, 50.6%) |
| CIE-LAB | lab(48.59, -6.85, 45.46) |
| CIE-LCH | lch(48.59, 45.97, 98.57°) |
| OKLab | oklab(55.45% -0.0235 0.1006) |
| OKLCH | oklch(55.45% 0.103 103.1) |
| XYZ | xyz(15.2268, 17.2631, 3.8963) |
| Luminance | 0.1726 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.79
Brown Green
#706C11
ΔE00 4.18
Browny Green
#6F6C0A
ΔE00 4.46
Olive (survey)
#6E750E
ΔE00 5.15
Hazel
#8E7618
ΔE00 5.29
Olive
#808000
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7520 #20297E
analogous
#7E4620 #7E7520 #587E20
triadic
#7E7520 #207E75 #75207E
tetradic
#7E7520 #207E46 #20297E #7E2058
square
#7E7520 #207E46 #20297E #7E2058
split-complementary
#7E7520 #20587E #46207E
monochromatic
#1C1A07 #4D4814 #7E7520 #AFA22C #D0C348
Accessibility & contrast
On white
4.72
#7E7520 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#7E7520 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7520
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7520 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7520 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807112
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#886C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e7520; /* rgb */ color: rgb(126, 117, 32); /* oklch */ color: oklch(55.4% 0.103 103.1);
Tailwind
colors: {
custom: {
50: '#a69c62',
500: '#7e7520',
950: '#000000',
},
}SCSS
$custom: #7e7520; $custom-light: #a69c62; $custom-dark: #000000;
JSON
{
"hex": "#7e7520",
"rgb": {
"r": 126,
"g": 117,
"b": 32
},
"hsl": {
"h": 54.255,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.55447,
"c": 0.10335,
"h": 103.1
},
"luminance": 0.17262
}Semantic roles & 50–950 ramp
primary
#7E7520
secondary
#4953B1
accent
#54E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A