#7A792C#7A792C
#7A792C is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.099 H 108.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7A792C |
|---|---|
| RGB | rgb(122, 121, 44) |
| HSL | hsl(59, 47%, 33%) |
| HSV | hsv(59, 64%, 48%) |
| CMYK | cmyk(0%, 0.8%, 63.9%, 52.2%) |
| CIE-LAB | lab(49.49, -10.18, 41.06) |
| CIE-LCH | lch(49.49, 42.30, 103.93°) |
| OKLab | oklab(56.11% -0.0313 0.0936) |
| OKLCH | oklch(56.11% 0.099 108.5) |
| XYZ | xyz(15.3185, 17.9946, 5.0488) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.63
Olive (survey)
#6E750E
ΔE00 4.16
Drab
#828344
ΔE00 4.81
Murky Green
#6C7A0E
ΔE00 5.03
Brown Green
#706C11
ΔE00 5.34
Poop Green
#6F7C00
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A792C #2C2D7A
analogous
#7A522C #7A792C #547A2C
triadic
#7A792C #2C7A79 #792C7A
tetradic
#7A792C #2C7A52 #2C2D7A #7A2C54
square
#7A792C #2C7A52 #2C2D7A #7A2C54
split-complementary
#7A792C #2C547A #522C7A
monochromatic
#20200C #4D4C1C #7A792C #A7A63C #C4C35C
Accessibility & contrast
On white
4.57
#7A792C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7A792C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A792C
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A792C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A792C | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837423
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#837169
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7a792c; /* rgb */ color: rgb(122, 121, 44); /* oklch */ color: oklch(56.1% 0.099 108.5);
Tailwind
colors: {
custom: {
50: '#a39f69',
500: '#7a792c',
950: '#000000',
},
}SCSS
$custom: #7a792c; $custom-light: #a39f69; $custom-dark: #000000;
JSON
{
"hex": "#7a792c",
"rgb": {
"r": 122,
"g": 121,
"b": 44
},
"hsl": {
"h": 59.231,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.56105,
"c": 0.0987,
"h": 108.5
},
"luminance": 0.17994
}Semantic roles & 50–950 ramp
primary
#7A792C
secondary
#5758AA
accent
#53D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A