#797B2A#797B2A
#797B2A is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.103 H 110.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #797B2A |
|---|---|
| RGB | rgb(121, 123, 42) |
| HSL | hsl(61, 49%, 32%) |
| HSV | hsv(61, 66%, 48%) |
| CMYK | cmyk(1.6%, 0%, 65.9%, 51.8%) |
| CIE-LAB | lab(49.98, -11.88, 42.46) |
| CIE-LCH | lch(49.98, 44.09, 105.63°) |
| OKLab | oklab(56.47% -0.0362 0.0963) |
| OKLCH | oklch(56.47% 0.103 110.6) |
| XYZ | xyz(15.3865, 18.3984, 4.9308) |
| Luminance | 0.1840 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.67
Olive (survey)
#6E750E
ΔE00 3.82
Murky Green
#6C7A0E
ΔE00 4.19
Poop Green
#6F7C00
ΔE00 4.47
Shit Green
#758000
ΔE00 4.62
Drab
#828344
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B2A #2C2A7B
analogous
#7B542A #797B2A #517B2A
triadic
#797B2A #2A797B #7B2A79
tetradic
#797B2A #2A7B54 #2C2A7B #7B2A51
square
#797B2A #2A7B54 #2C2A7B #7B2A51
split-complementary
#797B2A #2A517B #542A7B
monochromatic
#1F200B #4C4D1A #797B2A #A6A93A #C4C659
Accessibility & contrast
On white
4.49
#797B2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#797B2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B2A
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B2A | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857620
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#81736A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797b2a; /* rgb */ color: rgb(121, 123, 42); /* oklch */ color: oklch(56.5% 0.103 110.6);
Tailwind
colors: {
custom: {
50: '#a2a168',
500: '#797b2a',
950: '#000000',
},
}SCSS
$custom: #797b2a; $custom-light: #a2a168; $custom-dark: #000000;
JSON
{
"hex": "#797b2a",
"rgb": {
"r": 121,
"g": 123,
"b": 42
},
"hsl": {
"h": 61.481,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.56466,
"c": 0.10288,
"h": 110.6
},
"luminance": 0.18398
}Semantic roles & 50–950 ramp
primary
#797B2A
secondary
#5755AC
accent
#4FD953
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A