#7E792E#7E792E
#7E792E is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.096 H 105.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7E792E |
|---|---|
| RGB | rgb(126, 121, 46) |
| HSL | hsl(56, 47%, 34%) |
| HSV | hsv(56, 63%, 49%) |
| CMYK | cmyk(0%, 4%, 63.5%, 50.6%) |
| CIE-LAB | lab(49.87, -8.21, 40.64) |
| CIE-LCH | lch(49.87, 41.46, 101.42°) |
| OKLab | oklab(56.5% -0.0257 0.0929) |
| OKLCH | oklch(56.5% 0.096 105.5) |
| XYZ | xyz(15.9352, 18.3082, 5.2787) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 4.70
Drab
#828344
ΔE00 4.80
Olive (survey)
#6E750E
ΔE00 5.20
Ugly Brown
#7D7103
ΔE00 5.23
Olive
#808000
ΔE00 5.57
Brown Green
#706C11
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E792E #2E337E
analogous
#7E512E #7E792E #5B7E2E
triadic
#7E792E #2E7E79 #792E7E
tetradic
#7E792E #2E7E51 #2E337E #7E2E5B
square
#7E792E #2E7E51 #2E337E #7E2E5B
split-complementary
#7E792E #2E5B7E #512E7E
monochromatic
#24230D #514E1E #7E792E #ABA43E #C5BF61
Accessibility & contrast
On white
4.50
#7E792E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#7E792E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E792E
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E792E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E792E | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837525
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#877169
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e792e; /* rgb */ color: rgb(126, 121, 46); /* oklch */ color: oklch(56.5% 0.096 105.5);
Tailwind
colors: {
custom: {
50: '#a69f6a',
500: '#7e792e',
950: '#000000',
},
}SCSS
$custom: #7e792e; $custom-light: #a69f6a; $custom-dark: #000000;
JSON
{
"hex": "#7e792e",
"rgb": {
"r": 126,
"g": 121,
"b": 46
},
"hsl": {
"h": 56.25,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.565,
"c": 0.09641,
"h": 105.5
},
"luminance": 0.18308
}Semantic roles & 50–950 ramp
primary
#7E792E
secondary
#5C61AC
accent
#5AD652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A