#797A2A#797A2A
#797A2A is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.2% C 0.102 H 110.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #797A2A |
|---|---|
| RGB | rgb(121, 122, 42) |
| HSL | hsl(61, 49%, 32%) |
| HSV | hsv(61, 66%, 48%) |
| CMYK | cmyk(0.8%, 0%, 65.6%, 52.2%) |
| CIE-LAB | lab(49.68, -11.33, 42.15) |
| CIE-LCH | lch(49.68, 43.65, 105.04°) |
| OKLab | oklab(56.23% -0.0347 0.0956) |
| OKLCH | oklch(56.23% 0.102 110) |
| XYZ | xyz(15.2631, 18.1516, 4.8896) |
| Luminance | 0.1815 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.58
Olive (survey)
#6E750E
ΔE00 3.77
Murky Green
#6C7A0E
ΔE00 4.39
Poop Green
#6F7C00
ΔE00 4.70
Drab
#828344
ΔE00 4.83
Shit Green
#758000
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A2A #2B2A7A
analogous
#7A532A #797A2A #517A2A
triadic
#797A2A #2A797A #7A2A79
tetradic
#797A2A #2A7A53 #2B2A7A #7A2A51
square
#797A2A #2A7A53 #2B2A7A #7A2A51
split-complementary
#797A2A #2A517A #532A7A
monochromatic
#1F1F0B #4C4C1A #797A2A #A6A83A #C4C659
Accessibility & contrast
On white
4.54
#797A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#797A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A2A
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A2A | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847520
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#817269
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797a2a; /* rgb */ color: rgb(121, 122, 42); /* oklch */ color: oklch(56.2% 0.102 110.0);
Tailwind
colors: {
custom: {
50: '#a2a068',
500: '#797a2a',
950: '#000000',
},
}SCSS
$custom: #797a2a; $custom-light: #a2a068; $custom-dark: #000000;
JSON
{
"hex": "#797a2a",
"rgb": {
"r": 121,
"g": 122,
"b": 42
},
"hsl": {
"h": 60.75,
"s": 48.78,
"l": 32.157
},
"oklch": {
"l": 0.5623,
"c": 0.10172,
"h": 110
},
"luminance": 0.18151
}Semantic roles & 50–950 ramp
primary
#797A2A
secondary
#5655AB
accent
#4FD851
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A