#798B60#798B60

#798B60 is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 61.1% C 0.065 H 126.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#798B60
RGBrgb(121, 139, 96)
HSLhsl(85, 18%, 46%)
HSVhsv(85, 31%, 55%)
CMYKcmyk(12.9%, 0%, 30.9%, 45.5%)
CIE-LABlab(55.46, -14.48, 20.92)
CIE-LCHlch(55.46, 25.44, 124.69°)
OKLaboklab(61.09% -0.0391 0.0525)
OKLCHoklch(61.09% 0.065 126.7)
XYZxyz(19.2288, 23.3746, 14.5628)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798B60 #72608B
analogous
#8B8760 #798B60 #638B60
triadic
#798B60 #60798B #8B6079
tetradic
#798B60 #608B87 #72608B #8B6063
square
#798B60 #608B87 #72608B #8B6063
split-complementary
#798B60 #60638B #87608B
monochromatic
#3A432E #596747 #798B60 #97A881 #B5C1A5

Accessibility & contrast

On white

3.70
#798B60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#798B60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798B60
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798B60#FFFFFF#000000##000000
##798B601.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90865D
Deuteranopia (green-blind)
#8D8562
Tritanopia (blue-blind)
#7B8780
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798b60;
/* rgb */ color: rgb(121, 139, 96);
/* oklch */ color: oklch(61.1% 0.065 126.7);
Tailwind
colors: {
  custom: {
    50: '#a0ad8d',
    500: '#798b60',
    950: '#000000',
  },
}
SCSS
$custom: #798b60;
$custom-light: #a0ad8d;
$custom-dark: #000000;
JSON
{
  "hex": "#798b60",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 96
  },
  "hsl": {
    "h": 85.116,
    "s": 18.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61087,
    "c": 0.06544,
    "h": 126.7
  },
  "luminance": 0.23375
}

Semantic roles & 50–950 ramp

primary
#798B60
secondary
#A198AF
accent
#6DBB8E
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E100C
muted
#7E7F7D

Preview Lab

Preview with #798B60

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

Preview Lab → · Contrast checker → · Palette generator →

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