#7A791B#7A791B
#7A791B is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.111 H 108.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7A791B |
|---|---|
| RGB | rgb(122, 121, 27) |
| HSL | hsl(59, 64%, 29%) |
| HSV | hsv(59, 78%, 48%) |
| CMYK | cmyk(0%, 0.8%, 77.9%, 52.2%) |
| CIE-LAB | lab(49.36, -11.17, 47.94) |
| CIE-LCH | lch(49.36, 49.22, 103.12°) |
| OKLab | oklab(55.97% -0.0359 0.1051) |
| OKLCH | oklch(55.97% 0.111 108.9) |
| XYZ | xyz(15.0618, 17.8919, 3.6968) |
| Luminance | 0.1789 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.19
Olive
#808000
ΔE00 3.62
Poop Green
#6F7C00
ΔE00 4.08
Shit Green
#758000
ΔE00 4.16
Murky Green
#6C7A0E
ΔE00 4.26
Ugly Brown
#7D7103
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A791B #1B1C7A
analogous
#7A4A1B #7A791B #4C7A1B
triadic
#7A791B #1B7A79 #791B7A
tetradic
#7A791B #1B7A4A #1B1C7A #7A1B4C
square
#7A791B #1B7A4A #1B1C7A #7A1B4C
split-complementary
#7A791B #1B4C7A #4A1B7A
monochromatic
#191906 #484710 #7A791B #ACAB26 #D4D23C
Accessibility & contrast
On white
4.59
#7A791B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#7A791B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A791B
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A791B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A791B | 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)
#837405
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#837167
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7a791b; /* rgb */ color: rgb(122, 121, 27); /* oklch */ color: oklch(56.0% 0.111 108.9);
Tailwind
colors: {
custom: {
50: '#a49f60',
500: '#7a791b',
950: '#000000',
},
}SCSS
$custom: #7a791b; $custom-light: #a49f60; $custom-dark: #000000;
JSON
{
"hex": "#7a791b",
"rgb": {
"r": 122,
"g": 121,
"b": 27
},
"hsl": {
"h": 59.368,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.55966,
"c": 0.11103,
"h": 108.9
},
"luminance": 0.17891
}Semantic roles & 50–950 ramp
primary
#7A791B
secondary
#4344AE
accent
#43E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79