#798F5D#798F5D

#798F5D is a mid, moderate yellow-green. Relative luminance 0.245; OKLCH L 62.0% C 0.076 H 127.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#798F5D
RGBrgb(121, 143, 93)
HSLhsl(86, 21%, 46%)
HSVhsv(86, 35%, 56%)
CMYKcmyk(15.4%, 0%, 35%, 43.9%)
CIE-LABlab(56.59, -17.05, 24.09)
CIE-LCHlch(56.59, 29.51, 125.29°)
OKLaboklab(61.97% -0.0464 0.0599)
OKLCHoklch(61.97% 0.076 127.8)
XYZxyz(19.6831, 24.5000, 14.0458)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F5D #735D8F
analogous
#8F8C5D #798F5D #608F5D
triadic
#798F5D #5D798F #8F5D79
tetradic
#798F5D #5D8F8C #735D8F #8F5D60
square
#798F5D #5D8F8C #735D8F #8F5D60
split-complementary
#798F5D #5D608F #8C5D8F
monochromatic
#3A452D #5A6A45 #798F5D #97AB7E #B5C3A3

Accessibility & contrast

On white

3.56
#798F5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#798F5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F5D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F5D#FFFFFF#000000##000000
##798F5D1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94895A
Deuteranopia (green-blind)
#91875F
Tritanopia (blue-blind)
#7B8B82
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #798f5d;
/* rgb */ color: rgb(121, 143, 93);
/* oklch */ color: oklch(62.0% 0.076 127.8);
Tailwind
colors: {
  custom: {
    50: '#a0af8b',
    500: '#798f5d',
    950: '#000000',
  },
}
SCSS
$custom: #798f5d;
$custom-light: #a0af8b;
$custom-dark: #000000;
JSON
{
  "hex": "#798f5d",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 93
  },
  "hsl": {
    "h": 86.4,
    "s": 21.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61972,
    "c": 0.07578,
    "h": 127.8
  },
  "luminance": 0.245
}

Semantic roles & 50–950 ramp

primary
#798F5D
secondary
#A296B1
accent
#6ABE8F
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #798F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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