#797B49#797B49
#797B49 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.070 H 110.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #797B49 |
|---|---|
| RGB | rgb(121, 123, 73) |
| HSL | hsl(62, 26%, 38%) |
| HSV | hsv(62, 41%, 48%) |
| CMYK | cmyk(1.6%, 0%, 40.7%, 51.8%) |
| CIE-LAB | lab(50.35, -8.93, 27.07) |
| CIE-LCH | lch(50.35, 28.51, 108.25°) |
| OKLab | oklab(56.88% -0.0246 0.066) |
| OKLCH | oklch(56.88% 0.07 110.4) |
| XYZ | xyz(16.1709, 18.7122, 9.0620) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.12
Olive Drab
#6F7632
ΔE00 4.75
Military Green
#667C3E
ΔE00 6.19
Muddy Green
#657432
ΔE00 6.26
Khaki Green
#728639
ΔE00 7.13
Swamp
#698339
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B49 #4B497B
analogous
#7B6449 #797B49 #607B49
triadic
#797B49 #49797B #7B4979
tetradic
#797B49 #497B64 #4B497B #7B4960
square
#797B49 #497B64 #4B497B #7B4960
split-complementary
#797B49 #49607B #64497B
monochromatic
#2D2E1B #535532 #797B49 #9EA160 #B6B887
Accessibility & contrast
On white
4.43
#797B49 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#797B49 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B49
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B49 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827745
Deuteranopia (green-blind)
#83794B
Tritanopia (blue-blind)
#7F756F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #797b49; /* rgb */ color: rgb(121, 123, 73); /* oklch */ color: oklch(56.9% 0.070 110.4);
Tailwind
colors: {
custom: {
50: '#a0a17c',
500: '#797b49',
950: '#000000',
},
}SCSS
$custom: #797b49; $custom-light: #a0a17c; $custom-dark: #000000;
JSON
{
"hex": "#797b49",
"rgb": {
"r": 121,
"g": 123,
"b": 73
},
"hsl": {
"h": 62.4,
"s": 25.51,
"l": 38.431
},
"oklch": {
"l": 0.56884,
"c": 0.07041,
"h": 110.4
},
"luminance": 0.18712
}Semantic roles & 50–950 ramp
primary
#797B49
secondary
#7E7CA4
accent
#66C26A
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B