#798E5D#798E5D

#798E5D is a mid, moderate yellow-green. Relative luminance 0.242; OKLCH L 61.7% C 0.074 H 127.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#798E5D
RGBrgb(121, 142, 93)
HSLhsl(86, 21%, 46%)
HSVhsv(86, 35%, 56%)
CMYKcmyk(14.8%, 0%, 34.5%, 44.3%)
CIE-LABlab(56.29, -16.52, 23.70)
CIE-LCHlch(56.29, 28.89, 124.88°)
OKLaboklab(61.73% -0.0449 0.059)
OKLCHoklch(61.73% 0.074 127.3)
XYZxyz(19.5337, 24.2011, 13.9960)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E5D #725D8E
analogous
#8E8A5D #798E5D #608E5D
triadic
#798E5D #5D798E #8E5D79
tetradic
#798E5D #5D8E8A #725D8E #8E5D60
square
#798E5D #5D8E8A #725D8E #8E5D60
split-complementary
#798E5D #5D608E #8A5D8E
monochromatic
#3A442D #596945 #798E5D #97AA7E #B5C3A3

Accessibility & contrast

On white

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

On black

5.84
#798E5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E5D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E5D#FFFFFF#000000##000000
##798E5D1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93885A
Deuteranopia (green-blind)
#90875F
Tritanopia (blue-blind)
#7B8A81
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e5d;
/* rgb */ color: rgb(121, 142, 93);
/* oklch */ color: oklch(61.7% 0.074 127.3);
Tailwind
colors: {
  custom: {
    50: '#a0af8b',
    500: '#798e5d',
    950: '#000000',
  },
}
SCSS
$custom: #798e5d;
$custom-light: #a0af8b;
$custom-dark: #000000;
JSON
{
  "hex": "#798e5d",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 93
  },
  "hsl": {
    "h": 85.714,
    "s": 20.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61735,
    "c": 0.07415,
    "h": 127.3
  },
  "luminance": 0.24201
}

Semantic roles & 50–950 ramp

primary
#798E5D
secondary
#A196B1
accent
#6ABD8E
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #798E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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