#7E771D#7E771D
#7E771D is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.9% C 0.107 H 104.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7E771D |
|---|---|
| RGB | rgb(126, 119, 29) |
| HSL | hsl(56, 63%, 30%) |
| HSV | hsv(56, 77%, 49%) |
| CMYK | cmyk(0%, 5.6%, 77%, 50.6%) |
| CIE-LAB | lab(49.15, -8.11, 47.15) |
| CIE-LCH | lch(49.15, 47.84, 99.76°) |
| OKLab | oklab(55.89% -0.0274 0.1036) |
| OKLCH | oklch(55.89% 0.107 104.8) |
| XYZ | xyz(15.4234, 17.7186, 3.7698) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.08
Olive
#808000
ΔE00 4.45
Brown Green
#706C11
ΔE00 4.55
Olive (survey)
#6E750E
ΔE00 4.63
Browny Green
#6F6C0A
ΔE00 4.72
Brownish Green
#6A6E09
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E771D #1D247E
analogous
#7E461D #7E771D #547E1D
triadic
#7E771D #1D7E77 #771D7E
tetradic
#7E771D #1D7E46 #1D247E #7E1D54
square
#7E771D #1D7E46 #1D247E #7E1D54
split-complementary
#7E771D #1D547E #461D7E
monochromatic
#1B1906 #4C4812 #7E771D #B0A628 #D3C942
Accessibility & contrast
On white
4.62
#7E771D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#7E771D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E771D
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E771D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E771D | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#847724
Tritanopia (blue-blind)
#886E66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e771d; /* rgb */ color: rgb(126, 119, 29); /* oklch */ color: oklch(55.9% 0.107 104.8);
Tailwind
colors: {
custom: {
50: '#a79d61',
500: '#7e771d',
950: '#000000',
},
}SCSS
$custom: #7e771d; $custom-light: #a79d61; $custom-dark: #000000;
JSON
{
"hex": "#7e771d",
"rgb": {
"r": 126,
"g": 119,
"b": 29
},
"hsl": {
"h": 55.67,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.55889,
"c": 0.10718,
"h": 104.8
},
"luminance": 0.17718
}Semantic roles & 50–950 ramp
primary
#7E771D
secondary
#454DB1
accent
#4EE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79