#7E7526#7E7526
#7E7526 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.099 H 102.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7526 |
|---|---|
| RGB | rgb(126, 117, 38) |
| HSL | hsl(54, 54%, 32%) |
| HSV | hsv(54, 70%, 49%) |
| CMYK | cmyk(0%, 7.1%, 69.8%, 50.6%) |
| CIE-LAB | lab(48.63, -6.51, 42.99) |
| CIE-LCH | lch(48.63, 43.48, 98.61°) |
| OKLab | oklab(55.5% -0.0219 0.0966) |
| OKLCH | oklch(55.5% 0.099 102.8) |
| XYZ | xyz(15.3160, 17.2988, 4.3656) |
| Luminance | 0.1730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.48
Brown Green
#706C11
ΔE00 4.38
Browny Green
#6F6C0A
ΔE00 4.74
Olive (survey)
#6E750E
ΔE00 5.41
Hazel
#8E7618
ΔE00 5.51
Brownish Green
#6A6E09
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7526 #262F7E
analogous
#7E4926 #7E7526 #5B7E26
triadic
#7E7526 #267E75 #75267E
tetradic
#7E7526 #267E49 #262F7E #7E265B
square
#7E7526 #267E49 #262F7E #7E265B
split-complementary
#7E7526 #265B7E #49267E
monochromatic
#201E0A #4F4918 #7E7526 #ADA134 #CBBF53
Accessibility & contrast
On white
4.71
#7E7526 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7E7526 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7526
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7526 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7526 | 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)
#80711B
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e7526; /* rgb */ color: rgb(126, 117, 38); /* oklch */ color: oklch(55.5% 0.099 102.8);
Tailwind
colors: {
custom: {
50: '#a69c65',
500: '#7e7526',
950: '#000000',
},
}SCSS
$custom: #7e7526; $custom-light: #a69c65; $custom-dark: #000000;
JSON
{
"hex": "#7e7526",
"rgb": {
"r": 126,
"g": 117,
"b": 38
},
"hsl": {
"h": 53.864,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.55496,
"c": 0.099,
"h": 102.8
},
"luminance": 0.17298
}Semantic roles & 50–950 ramp
primary
#7E7526
secondary
#505AB0
accent
#5ADD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A