#798D53#798D53
#798D53 is a mid, moderate yellow-green. Relative luminance 0.237; OKLCH L 61.3% C 0.085 H 124.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #798D53 |
|---|---|
| RGB | rgb(121, 141, 83) |
| HSL | hsl(81, 26%, 44%) |
| HSV | hsv(81, 41%, 55%) |
| CMYK | cmyk(14.2%, 0%, 41.1%, 44.7%) |
| CIE-LAB | lab(55.83, -17.39, 28.58) |
| CIE-LCH | lch(55.83, 33.45, 121.32°) |
| OKLab | oklab(61.31% -0.0478 0.0699) |
| OKLCH | oklch(61.31% 0.085 124.4) |
| XYZ | xyz(18.9713, 23.7391, 11.7646) |
| Luminance | 0.2374 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.26
Drab Green
#749551
ΔE00 3.69
Moss
#769958
ΔE00 4.65
Khaki Green
#728639
ΔE00 4.87
Moss Green
#8A9A5B
ΔE00 4.94
Swamp
#698339
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798D53 #67538D
analogous
#8D8453 #798D53 #5C8D53
triadic
#798D53 #53798D #8D5379
tetradic
#798D53 #538D84 #67538D #8D535C
square
#798D53 #538D84 #67538D #8D535C
split-complementary
#798D53 #535C8D #84538D
monochromatic
#374026 #58663C #798D53 #98AC71 #B4C298
Accessibility & contrast
On white
3.65
#798D53 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#798D53 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798D53
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798D53 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798D53 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93864F
Deuteranopia (green-blind)
#908656
Tritanopia (blue-blind)
#7D887F
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #798d53; /* rgb */ color: rgb(121, 141, 83); /* oklch */ color: oklch(61.3% 0.085 124.4);
Tailwind
colors: {
custom: {
50: '#a0ae84',
500: '#798d53',
950: '#000000',
},
}SCSS
$custom: #798d53; $custom-light: #a0ae84; $custom-dark: #000000;
JSON
{
"hex": "#798d53",
"rgb": {
"r": 121,
"g": 141,
"b": 83
},
"hsl": {
"h": 80.69,
"s": 25.893,
"l": 43.922
},
"oklch": {
"l": 0.6131,
"c": 0.08472,
"h": 124.4
},
"luminance": 0.23739
}Semantic roles & 50–950 ramp
primary
#798D53
secondary
#988CB0
accent
#66C286
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C