#7E761E#7E761E
#7E761E is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.106 H 104.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7E761E |
|---|---|
| RGB | rgb(126, 118, 30) |
| HSL | hsl(55, 62%, 31%) |
| HSV | hsv(55, 76%, 49%) |
| CMYK | cmyk(0%, 6.3%, 76.2%, 50.6%) |
| CIE-LAB | lab(48.87, -7.51, 46.50) |
| CIE-LCH | lch(48.87, 47.10, 99.17°) |
| OKLab | oklab(55.66% -0.0256 0.1025) |
| OKLCH | oklch(55.66% 0.106 104) |
| XYZ | xyz(15.3176, 17.4868, 3.7965) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.85
Brown Green
#706C11
ΔE00 4.33
Browny Green
#6F6C0A
ΔE00 4.55
Olive (survey)
#6E750E
ΔE00 4.85
Olive
#808000
ΔE00 4.93
Brownish Green
#6A6E09
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E761E #1E267E
analogous
#7E461E #7E761E #567E1E
triadic
#7E761E #1E7E76 #761E7E
tetradic
#7E761E #1E7E46 #1E267E #7E1E56
square
#7E761E #1E7E46 #1E267E #7E1E56
split-complementary
#7E761E #1E567E #461E7E
monochromatic
#1B1906 #4D4812 #7E761E #AFA42A #D2C744
Accessibility & contrast
On white
4.67
#7E761E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#7E761E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E761E
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E761E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E761E | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720D
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e761e; /* rgb */ color: rgb(126, 118, 30); /* oklch */ color: oklch(55.7% 0.106 104.0);
Tailwind
colors: {
custom: {
50: '#a79d61',
500: '#7e761e',
950: '#000000',
},
}SCSS
$custom: #7e761e; $custom-light: #a79d61; $custom-dark: #000000;
JSON
{
"hex": "#7e761e",
"rgb": {
"r": 126,
"g": 118,
"b": 30
},
"hsl": {
"h": 55,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.55664,
"c": 0.1056,
"h": 104
},
"luminance": 0.17486
}Semantic roles & 50–950 ramp
primary
#7E761E
secondary
#474FB1
accent
#51E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79