#7E793D#7E793D
#7E793D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.081 H 104.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E793D |
|---|---|
| RGB | rgb(126, 121, 61) |
| HSL | hsl(55, 35%, 37%) |
| HSV | hsv(55, 52%, 49%) |
| CMYK | cmyk(0%, 4%, 51.6%, 50.6%) |
| CIE-LAB | lab(50.03, -6.93, 33.29) |
| CIE-LCH | lch(50.03, 34.00, 101.76°) |
| OKLab | oklab(56.69% -0.0203 0.0789) |
| OKLCH | oklch(56.69% 0.081 104.4) |
| XYZ | xyz(16.2843, 18.4478, 7.1169) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.94
Olive Drab
#6F7632
ΔE00 4.59
Brown Green
#706C11
ΔE00 7.18
Olive (survey)
#6E750E
ΔE00 7.18
Muddy Green
#657432
ΔE00 7.21
Ugly Brown
#7D7103
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E793D #3D427E
analogous
#7E593D #7E793D #637E3D
triadic
#7E793D #3D7E79 #793D7E
tetradic
#7E793D #3D7E59 #3D427E #7E3D63
square
#7E793D #3D7E59 #3D427E #7E3D63
split-complementary
#7E793D #3D637E #593D7E
monochromatic
#2C2A15 #555129 #7E793D #A7A151 #BEB878
Accessibility & contrast
On white
4.48
#7E793D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#7E793D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E793D
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E793D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E793D | 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)
#827538
Deuteranopia (green-blind)
#847840
Tritanopia (blue-blind)
#86726B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e793d; /* rgb */ color: rgb(126, 121, 61); /* oklch */ color: oklch(56.7% 0.081 104.4);
Tailwind
colors: {
custom: {
50: '#a59f74',
500: '#7e793d',
950: '#000000',
},
}SCSS
$custom: #7e793d; $custom-light: #a59f74; $custom-dark: #000000;
JSON
{
"hex": "#7e793d",
"rgb": {
"r": 126,
"g": 121,
"b": 61
},
"hsl": {
"h": 55.385,
"s": 34.759,
"l": 36.667
},
"oklch": {
"l": 0.56686,
"c": 0.08149,
"h": 104.4
},
"luminance": 0.18447
}Semantic roles & 50–950 ramp
primary
#7E793D
secondary
#6F74A8
accent
#65CB5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B