#7E793E#7E793E
#7E793E is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.7% C 0.080 H 104.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E793E |
|---|---|
| RGB | rgb(126, 121, 62) |
| HSL | hsl(55, 34%, 37%) |
| HSV | hsv(55, 51%, 49%) |
| CMYK | cmyk(0%, 4%, 50.8%, 50.6%) |
| CIE-LAB | lab(50.05, -6.83, 32.77) |
| CIE-LCH | lch(50.05, 33.48, 101.77°) |
| OKLab | oklab(56.7% -0.0199 0.0779) |
| OKLCH | oklch(56.7% 0.08 104.3) |
| XYZ | xyz(16.3115, 18.4587, 7.2601) |
| Luminance | 0.1846 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.95
Olive Drab
#6F7632
ΔE00 4.66
Muddy Green
#657432
ΔE00 7.24
Brown Green
#706C11
ΔE00 7.33
Olive (survey)
#6E750E
ΔE00 7.36
Ugly Brown
#7D7103
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E793E #3E437E
analogous
#7E593E #7E793E #637E3E
triadic
#7E793E #3E7E79 #793E7E
tetradic
#7E793E #3E7E59 #3E437E #7E3E63
square
#7E793E #3E7E59 #3E437E #7E3E63
split-complementary
#7E793E #3E637E #593E7E
monochromatic
#2C2A16 #55522A #7E793E #A7A052 #BDB879
Accessibility & contrast
On white
4.48
#7E793E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#7E793E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E793E
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E793E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E793E | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827539
Deuteranopia (green-blind)
#847841
Tritanopia (blue-blind)
#86726B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e793e; /* rgb */ color: rgb(126, 121, 62); /* oklch */ color: oklch(56.7% 0.080 104.3);
Tailwind
colors: {
custom: {
50: '#a59f75',
500: '#7e793e',
950: '#000000',
},
}SCSS
$custom: #7e793e; $custom-light: #a59f75; $custom-dark: #000000;
JSON
{
"hex": "#7e793e",
"rgb": {
"r": 126,
"g": 121,
"b": 62
},
"hsl": {
"h": 55.313,
"s": 34.043,
"l": 36.863
},
"oklch": {
"l": 0.56701,
"c": 0.08039,
"h": 104.3
},
"luminance": 0.18458
}Semantic roles & 50–950 ramp
primary
#7E793E
secondary
#7075A7
accent
#66CA5E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B