#7A791E#7A791E
#7A791E is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.109 H 108.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7A791E |
|---|---|
| RGB | rgb(122, 121, 30) |
| HSL | hsl(59, 61%, 30%) |
| HSV | hsv(59, 75%, 48%) |
| CMYK | cmyk(0%, 0.8%, 75.4%, 52.2%) |
| CIE-LAB | lab(49.38, -11.03, 46.86) |
| CIE-LCH | lch(49.38, 48.14, 103.25°) |
| OKLab | oklab(55.99% -0.0352 0.1034) |
| OKLCH | oklch(55.99% 0.109 108.8) |
| XYZ | xyz(15.0983, 17.9065, 3.8890) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.25
Olive
#808000
ΔE00 3.86
Poop Green
#6F7C00
ΔE00 4.21
Murky Green
#6C7A0E
ΔE00 4.30
Shit Green
#758000
ΔE00 4.32
Ugly Brown
#7D7103
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A791E #1E1F7A
analogous
#7A4B1E #7A791E #4D7A1E
triadic
#7A791E #1E7A79 #791E7A
tetradic
#7A791E #1E7A4B #1E1F7A #7A1E4D
square
#7A791E #1E7A4B #1E1F7A #7A1E4D
split-complementary
#7A791E #1E4D7A #4B1E7A
monochromatic
#191806 #494812 #7A791E #ABAA2A #D0CF42
Accessibility & contrast
On white
4.58
#7A791E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#7A791E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A791E
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A791E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A791E | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83740C
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#837168
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7a791e; /* rgb */ color: rgb(122, 121, 30); /* oklch */ color: oklch(56.0% 0.109 108.8);
Tailwind
colors: {
custom: {
50: '#a39f61',
500: '#7a791e',
950: '#000000',
},
}SCSS
$custom: #7a791e; $custom-light: #a39f61; $custom-dark: #000000;
JSON
{
"hex": "#7a791e",
"rgb": {
"r": 122,
"g": 121,
"b": 30
},
"hsl": {
"h": 59.348,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.55986,
"c": 0.10922,
"h": 108.8
},
"luminance": 0.17906
}Semantic roles & 50–950 ramp
primary
#7A791E
secondary
#4647AE
accent
#46E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A