#7E791A#7E791A
#7E791A is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.111 H 106.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7E791A |
|---|---|
| RGB | rgb(126, 121, 26) |
| HSL | hsl(57, 66%, 30%) |
| HSV | hsv(57, 79%, 49%) |
| CMYK | cmyk(0%, 4%, 79.4%, 50.6%) |
| CIE-LAB | lab(49.72, -9.35, 48.74) |
| CIE-LCH | lch(49.72, 49.63, 100.86°) |
| OKLab | oklab(56.34% -0.0312 0.1064) |
| OKLCH | oklch(56.34% 0.111 106.3) |
| XYZ | xyz(15.6287, 18.1855, 3.6640) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.48
Ugly Brown
#7D7103
ΔE00 3.67
Olive (survey)
#6E750E
ΔE00 4.34
Shit Green
#758000
ΔE00 4.97
Brown Green
#706C11
ΔE00 5.12
Poop Green
#6F7C00
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E791A #1A1F7E
analogous
#7E471A #7E791A #517E1A
triadic
#7E791A #1A7E79 #791A7E
tetradic
#7E791A #1A7E47 #1A1F7E #7E1A51
square
#7E791A #1A7E47 #1A1F7E #7E1A51
split-complementary
#7E791A #1A517E #471A7E
monochromatic
#191805 #4B4810 #7E791A #B1AA24 #D7CF3C
Accessibility & contrast
On white
4.53
#7E791A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7E791A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E791A
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E791A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E791A | 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)
#847403
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#887067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e791a; /* rgb */ color: rgb(126, 121, 26); /* oklch */ color: oklch(56.3% 0.111 106.3);
Tailwind
colors: {
custom: {
50: '#a79f5f',
500: '#7e791a',
950: '#000000',
},
}SCSS
$custom: #7e791a; $custom-light: #a79f5f; $custom-dark: #000000;
JSON
{
"hex": "#7e791a",
"rgb": {
"r": 126,
"g": 121,
"b": 26
},
"hsl": {
"h": 57,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.56335,
"c": 0.11088,
"h": 106.3
},
"luminance": 0.18185
}Semantic roles & 50–950 ramp
primary
#7E791A
secondary
#4247B2
accent
#48E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79