#798E58#798E58

#798E58 is a mid, moderate yellow-green. Relative luminance 0.241; OKLCH L 61.6% C 0.080 H 126.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#798E58
RGBrgb(121, 142, 88)
HSLhsl(83, 23%, 45%)
HSVhsv(83, 38%, 56%)
CMYKcmyk(14.8%, 0%, 38%, 44.3%)
CIE-LABlab(56.20, -17.24, 26.34)
CIE-LCHlch(56.20, 31.48, 123.20°)
OKLaboklab(61.64% -0.0471 0.065)
OKLCHoklch(61.64% 0.08 126)
XYZxyz(19.3194, 24.1154, 12.8676)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E58 #6D588E
analogous
#8E8858 #798E58 #5E8E58
triadic
#798E58 #58798E #8E5879
tetradic
#798E58 #588E88 #6D588E #8E585E
square
#798E58 #588E88 #6D588E #8E585E
split-complementary
#798E58 #585E8E #88588E
monochromatic
#394229 #596841 #798E58 #97AB78 #B4C39E

Accessibility & contrast

On white

3.61
#798E58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#798E58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E58
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E58#FFFFFF#000000##000000
##798E581.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938854
Deuteranopia (green-blind)
#90865B
Tritanopia (blue-blind)
#7C8980
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e58;
/* rgb */ color: rgb(121, 142, 88);
/* oklch */ color: oklch(61.6% 0.080 126.0);
Tailwind
colors: {
  custom: {
    50: '#a0af88',
    500: '#798e58',
    950: '#000000',
  },
}
SCSS
$custom: #798e58;
$custom-light: #a0af88;
$custom-dark: #000000;
JSON
{
  "hex": "#798e58",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 88
  },
  "hsl": {
    "h": 83.333,
    "s": 23.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61638,
    "c": 0.08029,
    "h": 126
  },
  "luminance": 0.24116
}

Semantic roles & 50–950 ramp

primary
#798E58
secondary
#9D91B0
accent
#68C08A
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798E58

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

Preview Lab → · Contrast checker → · Palette generator →

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