#798E5D#798E5D
#798E5D is a mid, moderate yellow-green. Relative luminance 0.242; OKLCH L 61.7% C 0.074 H 127.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #798E5D |
|---|---|
| RGB | rgb(121, 142, 93) |
| HSL | hsl(86, 21%, 46%) |
| HSV | hsv(86, 35%, 56%) |
| CMYK | cmyk(14.8%, 0%, 34.5%, 44.3%) |
| CIE-LAB | lab(56.29, -16.52, 23.70) |
| CIE-LCH | lch(56.29, 28.89, 124.88°) |
| OKLab | oklab(61.73% -0.0449 0.059) |
| OKLCH | oklch(61.73% 0.074 127.3) |
| XYZ | xyz(19.5337, 24.2011, 13.9960) |
| Luminance | 0.2420 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 4.26
Drab Green
#749551
ΔE00 4.63
Green Grey
#77926F
ΔE00 4.72
Moss
#769958
ΔE00 4.94
Moss Green
#8A9A5B
ΔE00 5.62
Khaki Green
#728639
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798E5D #725D8E
analogous
#8E8A5D #798E5D #608E5D
triadic
#798E5D #5D798E #8E5D79
tetradic
#798E5D #5D8E8A #725D8E #8E5D60
square
#798E5D #5D8E8A #725D8E #8E5D60
split-complementary
#798E5D #5D608E #8A5D8E
monochromatic
#3A442D #596945 #798E5D #97AA7E #B5C3A3
Accessibility & contrast
On white
3.60
#798E5D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#798E5D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798E5D
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798E5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798E5D | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93885A
Deuteranopia (green-blind)
#90875F
Tritanopia (blue-blind)
#7B8A81
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #798e5d; /* rgb */ color: rgb(121, 142, 93); /* oklch */ color: oklch(61.7% 0.074 127.3);
Tailwind
colors: {
custom: {
50: '#a0af8b',
500: '#798e5d',
950: '#000000',
},
}SCSS
$custom: #798e5d; $custom-light: #a0af8b; $custom-dark: #000000;
JSON
{
"hex": "#798e5d",
"rgb": {
"r": 121,
"g": 142,
"b": 93
},
"hsl": {
"h": 85.714,
"s": 20.851,
"l": 46.078
},
"oklch": {
"l": 0.61735,
"c": 0.07415,
"h": 127.3
},
"luminance": 0.24201
}Semantic roles & 50–950 ramp
primary
#798E5D
secondary
#A196B1
accent
#6ABD8E
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D