#798E5A#798E5A

#798E5A is a mid, moderate yellow-green. Relative luminance 0.241; OKLCH L 61.7% C 0.078 H 126.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#798E5A
RGBrgb(121, 142, 90)
HSLhsl(84, 22%, 45%)
HSVhsv(84, 37%, 56%)
CMYKcmyk(14.8%, 0%, 36.6%, 44.3%)
CIE-LABlab(56.24, -16.96, 25.29)
CIE-LCHlch(56.24, 30.45, 123.84°)
OKLaboklab(61.68% -0.0463 0.0626)
OKLCHoklch(61.68% 0.078 126.5)
XYZxyz(19.4034, 24.1490, 13.3099)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E5A #6F5A8E
analogous
#8E895A #798E5A #5F8E5A
triadic
#798E5A #5A798E #8E5A79
tetradic
#798E5A #5A8E89 #6F5A8E #8E5A5F
square
#798E5A #5A8E89 #6F5A8E #8E5A5F
split-complementary
#798E5A #5A5F8E #895A8E
monochromatic
#39432B #596942 #798E5A #97AB7A #B5C3A0

Accessibility & contrast

On white

3.60
#798E5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#798E5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E5A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E5A#FFFFFF#000000##000000
##798E5A1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938856
Deuteranopia (green-blind)
#90865D
Tritanopia (blue-blind)
#7C8981
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e5a;
/* rgb */ color: rgb(121, 142, 90);
/* oklch */ color: oklch(61.7% 0.078 126.5);
Tailwind
colors: {
  custom: {
    50: '#a0af89',
    500: '#798e5a',
    950: '#000000',
  },
}
SCSS
$custom: #798e5a;
$custom-light: #a0af89;
$custom-dark: #000000;
JSON
{
  "hex": "#798e5a",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 90
  },
  "hsl": {
    "h": 84.231,
    "s": 22.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.61676,
    "c": 0.07785,
    "h": 126.5
  },
  "luminance": 0.24149
}

Semantic roles & 50–950 ramp

primary
#798E5A
secondary
#9F93B1
accent
#69BF8C
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798E5A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#798E5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva