#798E53#798E53

#798E53 is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.5% C 0.086 H 124.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#798E53
RGBrgb(121, 142, 83)
HSLhsl(81, 26%, 44%)
HSVhsv(81, 42%, 56%)
CMYKcmyk(14.8%, 0%, 41.5%, 44.3%)
CIE-LABlab(56.12, -17.91, 28.96)
CIE-LCHlch(56.12, 34.05, 121.74°)
OKLaboklab(61.55% -0.0493 0.0708)
OKLCHoklch(61.55% 0.086 124.9)
XYZxyz(19.1194, 24.0354, 11.8140)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E53 #68538E
analogous
#8E8653 #798E53 #5C8E53
triadic
#798E53 #53798E #8E5379
tetradic
#798E53 #538E86 #68538E #8E535C
square
#798E53 #538E86 #68538E #8E535C
split-complementary
#798E53 #535C8E #86538E
monochromatic
#374126 #58673C #798E53 #98AC72 #B4C398

Accessibility & contrast

On white

3.62
#798E53 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#798E53 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E53
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E53#FFFFFF#000000##000000
##798E531.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94874F
Deuteranopia (green-blind)
#918656
Tritanopia (blue-blind)
#7D8980
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e53;
/* rgb */ color: rgb(121, 142, 83);
/* oklch */ color: oklch(61.5% 0.086 124.9);
Tailwind
colors: {
  custom: {
    50: '#a0af84',
    500: '#798e53',
    950: '#000000',
  },
}
SCSS
$custom: #798e53;
$custom-light: #a0af84;
$custom-dark: #000000;
JSON
{
  "hex": "#798e53",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 83
  },
  "hsl": {
    "h": 81.356,
    "s": 26.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.08628,
    "h": 124.9
  },
  "luminance": 0.24035
}

Semantic roles & 50–950 ramp

primary
#798E53
secondary
#998DB0
accent
#65C386
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798E53

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

Preview Lab → · Contrast checker → · Palette generator →

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