#7E791E#7E791E
#7E791E is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.109 H 106.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7E791E |
|---|---|
| RGB | rgb(126, 121, 30) |
| HSL | hsl(57, 62%, 31%) |
| HSV | hsv(57, 76%, 49%) |
| CMYK | cmyk(0%, 4%, 76.2%, 50.6%) |
| CIE-LAB | lab(49.74, -9.17, 47.33) |
| CIE-LCH | lch(49.74, 48.21, 100.97°) |
| OKLab | oklab(56.36% -0.0303 0.1042) |
| OKLCH | oklch(56.36% 0.109 106.2) |
| XYZ | xyz(15.6765, 18.2047, 3.9161) |
| Luminance | 0.1820 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.77
Ugly Brown
#7D7103
ΔE00 3.85
Olive (survey)
#6E750E
ΔE00 4.37
Brown Green
#706C11
ΔE00 5.10
Shit Green
#758000
ΔE00 5.13
Browny Green
#6F6C0A
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E791E #1E237E
analogous
#7E491E #7E791E #537E1E
triadic
#7E791E #1E7E79 #791E7E
tetradic
#7E791E #1E7E49 #1E237E #7E1E53
square
#7E791E #1E7E49 #1E237E #7E1E53
split-complementary
#7E791E #1E537E #491E7E
monochromatic
#1B1A06 #4D4A12 #7E791E #AFA82A #D2CB44
Accessibility & contrast
On white
4.53
#7E791E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7E791E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E791E
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E791E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E791E | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#887068
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e791e; /* rgb */ color: rgb(126, 121, 30); /* oklch */ color: oklch(56.4% 0.109 106.2);
Tailwind
colors: {
custom: {
50: '#a79f61',
500: '#7e791e',
950: '#000000',
},
}SCSS
$custom: #7e791e; $custom-light: #a79f61; $custom-dark: #000000;
JSON
{
"hex": "#7e791e",
"rgb": {
"r": 126,
"g": 121,
"b": 30
},
"hsl": {
"h": 56.875,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.56361,
"c": 0.10853,
"h": 106.2
},
"luminance": 0.18204
}Semantic roles & 50–950 ramp
primary
#7E791E
secondary
#474CB1
accent
#4CE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A