#7E7629#7E7629
#7E7629 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.098 H 103.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7629 |
|---|---|
| RGB | rgb(126, 118, 41) |
| HSL | hsl(54, 51%, 33%) |
| HSV | hsv(54, 67%, 49%) |
| CMYK | cmyk(0%, 6.3%, 67.5%, 50.6%) |
| CIE-LAB | lab(48.95, -6.88, 41.97) |
| CIE-LCH | lch(48.95, 42.53, 99.31°) |
| OKLab | oklab(55.76% -0.0226 0.0949) |
| OKLCH | oklch(55.76% 0.098 103.4) |
| XYZ | xyz(15.4835, 17.5532, 4.6699) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.01
Brown Green
#706C11
ΔE00 4.67
Browny Green
#6F6C0A
ΔE00 5.04
Olive (survey)
#6E750E
ΔE00 5.35
Olive Drab
#6F7632
ΔE00 5.45
Hazel
#8E7618
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7629 #29317E
analogous
#7E4B29 #7E7629 #5B7E29
triadic
#7E7629 #297E76 #76297E
tetradic
#7E7629 #297E4B #29317E #7E295B
square
#7E7629 #297E4B #29317E #7E295B
split-complementary
#7E7629 #295B7E #4B297E
monochromatic
#22200B #504B1A #7E7629 #ACA138 #C9BE59
Accessibility & contrast
On white
4.66
#7E7629 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7E7629 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7629
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7629 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7629 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81721F
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#876E66
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e7629; /* rgb */ color: rgb(126, 118, 41); /* oklch */ color: oklch(55.8% 0.098 103.4);
Tailwind
colors: {
custom: {
50: '#a69d67',
500: '#7e7629',
950: '#000000',
},
}SCSS
$custom: #7e7629; $custom-light: #a69d67; $custom-dark: #000000;
JSON
{
"hex": "#7e7629",
"rgb": {
"r": 126,
"g": 118,
"b": 41
},
"hsl": {
"h": 54.353,
"s": 50.898,
"l": 32.745
},
"oklch": {
"l": 0.55755,
"c": 0.09759,
"h": 103.4
},
"luminance": 0.17553
}Semantic roles & 50–950 ramp
primary
#7E7629
secondary
#555DAE
accent
#5BDA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A