#7E791D#7E791D
#7E791D 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 | #7E791D |
|---|---|
| RGB | rgb(126, 121, 29) |
| HSL | hsl(57, 63%, 30%) |
| HSV | hsv(57, 77%, 49%) |
| CMYK | cmyk(0%, 4%, 77%, 50.6%) |
| CIE-LAB | lab(49.74, -9.22, 47.70) |
| CIE-LCH | lch(49.74, 48.58, 100.94°) |
| OKLab | oklab(56.35% -0.0305 0.1048) |
| OKLCH | oklch(56.35% 0.109 106.2) |
| XYZ | xyz(15.6640, 18.1996, 3.8499) |
| Luminance | 0.1820 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.69
Ugly Brown
#7D7103
ΔE00 3.80
Olive (survey)
#6E750E
ΔE00 4.35
Shit Green
#758000
ΔE00 5.08
Brown Green
#706C11
ΔE00 5.10
Browny Green
#6F6C0A
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E791D #1D227E
analogous
#7E481D #7E791D #527E1D
triadic
#7E791D #1D7E79 #791D7E
tetradic
#7E791D #1D7E48 #1D227E #7E1D52
square
#7E791D #1D7E48 #1D227E #7E1D52
split-complementary
#7E791D #1D527E #481D7E
monochromatic
#1B1906 #4C4912 #7E791D #B0A928 #D3CC42
Accessibility & contrast
On white
4.53
#7E791D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7E791D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E791D
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E791D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E791D | 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)
#84740A
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#887067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e791d; /* rgb */ color: rgb(126, 121, 29); /* oklch */ color: oklch(56.4% 0.109 106.2);
Tailwind
colors: {
custom: {
50: '#a79f61',
500: '#7e791d',
950: '#000000',
},
}SCSS
$custom: #7e791d; $custom-light: #a79f61; $custom-dark: #000000;
JSON
{
"hex": "#7e791d",
"rgb": {
"r": 126,
"g": 121,
"b": 29
},
"hsl": {
"h": 56.907,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.56354,
"c": 0.10914,
"h": 106.2
},
"luminance": 0.18199
}Semantic roles & 50–950 ramp
primary
#7E791D
secondary
#454BB1
accent
#4BE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79