#798F63#798F63

#798F63 is a light, moderate yellow-green. Relative luminance 0.246; OKLCH L 62.1% C 0.068 H 129.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#798F63
RGBrgb(121, 143, 99)
HSLhsl(90, 18%, 47%)
HSVhsv(90, 31%, 56%)
CMYKcmyk(15.4%, 0%, 30.8%, 43.9%)
CIE-LABlab(56.69, -16.14, 20.90)
CIE-LCHlch(56.69, 26.41, 127.68°)
OKLaboklab(62.1% -0.0437 0.0525)
OKLCHoklch(62.1% 0.068 129.8)
XYZxyz(19.9594, 24.6105, 15.5007)
Luminance0.2461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F63 #79638F
analogous
#8F8F63 #798F63 #638F63
triadic
#798F63 #63798F #8F6379
tetradic
#798F63 #638F8F #79638F #8F6363
square
#798F63 #638F8F #79638F #8F6363
split-complementary
#798F63 #63638F #8F638F
monochromatic
#3C4731 #5A6B4A #798F63 #98AA85 #B6C3A9

Accessibility & contrast

On white

3.55
#798F63 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#798F63 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F63
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F63#FFFFFF#000000##000000
##798F631.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938960
Deuteranopia (green-blind)
#908765
Tritanopia (blue-blind)
#7B8B83
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #798f63;
/* rgb */ color: rgb(121, 143, 99);
/* oklch */ color: oklch(62.1% 0.068 129.8);
Tailwind
colors: {
  custom: {
    50: '#a0af8f',
    500: '#798f63',
    950: '#000000',
  },
}
SCSS
$custom: #798f63;
$custom-light: #a0af8f;
$custom-dark: #000000;
JSON
{
  "hex": "#798f63",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 99
  },
  "hsl": {
    "h": 90,
    "s": 18.182,
    "l": 47.451
  },
  "oklch": {
    "l": 0.62095,
    "c": 0.06832,
    "h": 129.8
  },
  "luminance": 0.24611
}

Semantic roles & 50–950 ramp

primary
#798F63
secondary
#A79CB2
accent
#6DBB94
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #798F63

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

Preview Lab → · Contrast checker → · Palette generator →

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