#7A791C#7A791C
#7A791C is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.110 H 108.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7A791C |
|---|---|
| RGB | rgb(122, 121, 28) |
| HSL | hsl(59, 63%, 29%) |
| HSV | hsv(59, 77%, 48%) |
| CMYK | cmyk(0%, 0.8%, 77%, 52.2%) |
| CIE-LAB | lab(49.37, -11.13, 47.59) |
| CIE-LCH | lch(49.37, 48.87, 103.16°) |
| OKLab | oklab(55.97% -0.0357 0.1045) |
| OKLCH | oklch(55.97% 0.11 108.9) |
| XYZ | xyz(15.0736, 17.8966, 3.7588) |
| Luminance | 0.1790 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.21
Olive
#808000
ΔE00 3.69
Poop Green
#6F7C00
ΔE00 4.12
Shit Green
#758000
ΔE00 4.21
Murky Green
#6C7A0E
ΔE00 4.27
Ugly Brown
#7D7103
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A791C #1C1D7A
analogous
#7A4A1C #7A791C #4C7A1C
triadic
#7A791C #1C7A79 #791C7A
tetradic
#7A791C #1C7A4A #1C1D7A #7A1C4C
square
#7A791C #1C7A4A #1C1D7A #7A1C4C
split-complementary
#7A791C #1C4C7A #4A1C7A
monochromatic
#191906 #484811 #7A791C #ACAA27 #D3D13E
Accessibility & contrast
On white
4.59
#7A791C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#7A791C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A791C
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A791C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A791C | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837407
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#837167
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7a791c; /* rgb */ color: rgb(122, 121, 28); /* oklch */ color: oklch(56.0% 0.110 108.9);
Tailwind
colors: {
custom: {
50: '#a49f60',
500: '#7a791c',
950: '#000000',
},
}SCSS
$custom: #7a791c; $custom-light: #a49f60; $custom-dark: #000000;
JSON
{
"hex": "#7a791c",
"rgb": {
"r": 122,
"g": 121,
"b": 28
},
"hsl": {
"h": 59.362,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.55972,
"c": 0.11045,
"h": 108.9
},
"luminance": 0.17896
}Semantic roles & 50–950 ramp
primary
#7A791C
secondary
#4445AE
accent
#44E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79