#798E5E#798E5E

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

Color values

HEX#798E5E
RGBrgb(121, 142, 94)
HSLhsl(86, 20%, 46%)
HSVhsv(86, 34%, 56%)
CMYKcmyk(14.8%, 0%, 33.8%, 44.3%)
CIE-LABlab(56.31, -16.38, 23.17)
CIE-LCHlch(56.31, 28.37, 125.25°)
OKLaboklab(61.76% -0.0445 0.0578)
OKLCHoklch(61.76% 0.073 127.6)
XYZxyz(19.5783, 24.2189, 14.2308)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E5E #735E8E
analogous
#8E8B5E #798E5E #618E5E
triadic
#798E5E #5E798E #8E5E79
tetradic
#798E5E #5E8E8B #735E8E #8E5E61
square
#798E5E #5E8E8B #735E8E #8E5E61
split-complementary
#798E5E #5E618E #8B5E8E
monochromatic
#3A442D #5A6946 #798E5E #97AA7F #B5C3A4

Accessibility & contrast

On white

3.59
#798E5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##798E5E#FFFFFF#000000##000000
##798E5E1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93885B
Deuteranopia (green-blind)
#908760
Tritanopia (blue-blind)
#7B8A82
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798e5e;
/* rgb */ color: rgb(121, 142, 94);
/* oklch */ color: oklch(61.8% 0.073 127.6);
Tailwind
colors: {
  custom: {
    50: '#a0af8c',
    500: '#798e5e',
    950: '#000000',
  },
}
SCSS
$custom: #798e5e;
$custom-light: #a0af8c;
$custom-dark: #000000;
JSON
{
  "hex": "#798e5e",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 94
  },
  "hsl": {
    "h": 86.25,
    "s": 20.339,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.0729,
    "h": 127.6
  },
  "luminance": 0.24219
}

Semantic roles & 50–950 ramp

primary
#798E5E
secondary
#A297B1
accent
#6BBD8F
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #798E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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