#7E793A#7E793A
#7E793A is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.085 H 104.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E793A |
|---|---|
| RGB | rgb(126, 121, 58) |
| HSL | hsl(56, 37%, 36%) |
| HSV | hsv(56, 54%, 49%) |
| CMYK | cmyk(0%, 4%, 54%, 50.6%) |
| CIE-LAB | lab(50.00, -7.22, 34.82) |
| CIE-LCH | lch(50.00, 35.56, 101.71°) |
| OKLab | oklab(56.64% -0.0215 0.082) |
| OKLCH | oklch(56.64% 0.085 104.7) |
| XYZ | xyz(16.2057, 18.4164, 6.7032) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.97
Olive Drab
#6F7632
ΔE00 4.46
Olive (survey)
#6E750E
ΔE00 6.70
Brown Green
#706C11
ΔE00 6.77
Ugly Brown
#7D7103
ΔE00 6.95
Muddy Green
#657432
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E793A #3A3F7E
analogous
#7E573A #7E793A #617E3A
triadic
#7E793A #3A7E79 #793A7E
tetradic
#7E793A #3A7E57 #3A3F7E #7E3A61
square
#7E793A #3A7E57 #3A3F7E #7E3A61
split-complementary
#7E793A #3A617E #573A7E
monochromatic
#2A2913 #545127 #7E793A #A8A14D #BFB974
Accessibility & contrast
On white
4.48
#7E793A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#7E793A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E793A
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E793A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E793A | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827534
Deuteranopia (green-blind)
#84783D
Tritanopia (blue-blind)
#86726B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e793a; /* rgb */ color: rgb(126, 121, 58); /* oklch */ color: oklch(56.6% 0.085 104.7);
Tailwind
colors: {
custom: {
50: '#a59f72',
500: '#7e793a',
950: '#000000',
},
}SCSS
$custom: #7e793a; $custom-light: #a59f72; $custom-dark: #000000;
JSON
{
"hex": "#7e793a",
"rgb": {
"r": 126,
"g": 121,
"b": 58
},
"hsl": {
"h": 55.588,
"s": 36.957,
"l": 36.078
},
"oklch": {
"l": 0.56644,
"c": 0.08472,
"h": 104.7
},
"luminance": 0.18416
}Semantic roles & 50–950 ramp
primary
#7E793A
secondary
#6C70A8
accent
#63CD5B
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B