#798F58#798F58

#798F58 is a mid, moderate yellow-green. Relative luminance 0.244; OKLCH L 61.9% C 0.082 H 126.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#798F58
RGBrgb(121, 143, 88)
HSLhsl(84, 24%, 45%)
HSVhsv(84, 38%, 56%)
CMYKcmyk(15.4%, 0%, 38.5%, 43.9%)
CIE-LABlab(56.50, -17.76, 26.73)
CIE-LCHlch(56.50, 32.09, 123.61°)
OKLaboklab(61.88% -0.0486 0.0659)
OKLCHoklch(61.88% 0.082 126.4)
XYZxyz(19.4689, 24.4143, 12.9174)
Luminance0.2441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F58 #6E588F
analogous
#8F8A58 #798F58 #5D8F58
triadic
#798F58 #58798F #8F5879
tetradic
#798F58 #588F8A #6E588F #8F585D
square
#798F58 #588F8A #6E588F #8F585D
split-complementary
#798F58 #585D8F #8A588F
monochromatic
#394329 #596941 #798F58 #97AC78 #B4C39E

Accessibility & contrast

On white

3.57
#798F58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#798F58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F58
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F58#FFFFFF#000000##000000
##798F581.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948854
Deuteranopia (green-blind)
#91875B
Tritanopia (blue-blind)
#7C8A81
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798f58;
/* rgb */ color: rgb(121, 143, 88);
/* oklch */ color: oklch(61.9% 0.082 126.4);
Tailwind
colors: {
  custom: {
    50: '#a0af88',
    500: '#798f58',
    950: '#000000',
  },
}
SCSS
$custom: #798f58;
$custom-light: #a0af88;
$custom-dark: #000000;
JSON
{
  "hex": "#798f58",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 88
  },
  "hsl": {
    "h": 84,
    "s": 23.81,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61876,
    "c": 0.08187,
    "h": 126.4
  },
  "luminance": 0.24414
}

Semantic roles & 50–950 ramp

primary
#798F58
secondary
#9E92B1
accent
#68C08B
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798F58

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

Preview Lab → · Contrast checker → · Palette generator →

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