#798261#798261
#798261 is a mid, muted yellow-green. Relative luminance 0.209; OKLCH L 59.0% C 0.049 H 120.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #798261 |
|---|---|
| RGB | rgb(121, 130, 97) |
| HSL | hsl(76, 15%, 45%) |
| HSV | hsv(76, 25%, 51%) |
| CMYK | cmyk(6.9%, 0%, 25.4%, 49%) |
| CIE-LAB | lab(52.83, -9.43, 16.80) |
| CIE-LCH | lch(52.83, 19.27, 119.29°) |
| OKLab | oklab(59% -0.0249 0.0426) |
| OKLCH | oklch(59% 0.049 120.3) |
| XYZ | xyz(18.0253, 20.8933, 14.3902) |
| Luminance | 0.2089 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Grey
#77926F
ΔE00 7.24
Drab
#828344
ΔE00 8.32
Camo
#7F8F4E
ΔE00 8.60
Brown Grey
#8D8468
ΔE00 8.61
Military Green
#667C3E
ΔE00 8.62
Slate Green
#658D6D
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798261 #6A6182
analogous
#827B61 #798261 #698261
triadic
#798261 #617982 #826179
tetradic
#798261 #61827B #6A6182 #826169
square
#798261 #61827B #6A6182 #826169
split-complementary
#798261 #616982 #7B6182
monochromatic
#383C2D #585F47 #798261 #97A080 #B4BAA3
Accessibility & contrast
On white
4.06
#798261 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#798261 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798261
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798261 | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867E5F
Deuteranopia (green-blind)
#857E62
Tritanopia (blue-blind)
#7C7F79
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #798261; /* rgb */ color: rgb(121, 130, 97); /* oklch */ color: oklch(59.0% 0.049 120.3);
Tailwind
colors: {
custom: {
50: '#a0a68e',
500: '#798261',
950: '#000000',
},
}SCSS
$custom: #798261; $custom-light: #a0a68e; $custom-dark: #000000;
JSON
{
"hex": "#798261",
"rgb": {
"r": 121,
"g": 130,
"b": 97
},
"hsl": {
"h": 76.364,
"s": 14.537,
"l": 44.51
},
"oklch": {
"l": 0.59002,
"c": 0.04933,
"h": 120.3
},
"luminance": 0.20893
}Semantic roles & 50–950 ramp
primary
#798261
secondary
#9B96A9
accent
#70B784
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D