#7E771E#7E771E
#7E771E 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 | #7E771E |
|---|---|
| RGB | rgb(126, 119, 30) |
| HSL | hsl(56, 62%, 31%) |
| HSV | hsv(56, 76%, 49%) |
| CMYK | cmyk(0%, 5.6%, 76.2%, 50.6%) |
| CIE-LAB | lab(49.16, -8.06, 46.78) |
| CIE-LCH | lch(49.16, 47.47, 99.78°) |
| OKLab | oklab(55.9% -0.0271 0.103) |
| OKLCH | oklch(55.9% 0.107 104.8) |
| XYZ | xyz(15.4360, 17.7236, 3.8360) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.15
Olive
#808000
ΔE00 4.52
Brown Green
#706C11
ΔE00 4.55
Olive (survey)
#6E750E
ΔE00 4.65
Browny Green
#6F6C0A
ΔE00 4.74
Brownish Green
#6A6E09
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E771E #1E257E
analogous
#7E471E #7E771E #557E1E
triadic
#7E771E #1E7E77 #771E7E
tetradic
#7E771E #1E7E47 #1E257E #7E1E55
square
#7E771E #1E7E47 #1E257E #7E1E55
split-complementary
#7E771E #1E557E #471E7E
monochromatic
#1B1A06 #4D4812 #7E771E #AFA62A #D2C844
Accessibility & contrast
On white
4.62
#7E771E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#7E771E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E771E
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E771E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E771E | 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)
#82730D
Deuteranopia (green-blind)
#847724
Tritanopia (blue-blind)
#886E66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e771e; /* rgb */ color: rgb(126, 119, 30); /* oklch */ color: oklch(55.9% 0.107 104.8);
Tailwind
colors: {
custom: {
50: '#a79d61',
500: '#7e771e',
950: '#000000',
},
}SCSS
$custom: #7e771e; $custom-light: #a79d61; $custom-dark: #000000;
JSON
{
"hex": "#7e771e",
"rgb": {
"r": 126,
"g": 119,
"b": 30
},
"hsl": {
"h": 55.625,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.55895,
"c": 0.10656,
"h": 104.8
},
"luminance": 0.17723
}Semantic roles & 50–950 ramp
primary
#7E771E
secondary
#474EB1
accent
#4FE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79