#798960#798960

#798960 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.6% C 0.062 H 125.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#798960
RGBrgb(121, 137, 96)
HSLhsl(83, 18%, 46%)
HSVhsv(83, 30%, 54%)
CMYKcmyk(11.7%, 0%, 29.9%, 46.3%)
CIE-LABlab(54.87, -13.40, 20.13)
CIE-LCHlch(54.87, 24.18, 123.66°)
OKLaboklab(60.62% -0.0361 0.0506)
OKLCHoklch(60.62% 0.062 125.5)
XYZxyz(18.9419, 22.8007, 14.4671)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798960 #706089
analogous
#898460 #798960 #648960
triadic
#798960 #607989 #896079
tetradic
#798960 #608984 #706089 #896064
square
#798960 #608984 #706089 #896064
split-complementary
#798960 #606489 #846089
monochromatic
#39412E #596547 #798960 #97A680 #B5BFA4

Accessibility & contrast

On white

3.78
#798960 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#798960 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798960
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798960#FFFFFF#000000##000000
##7989601.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845D
Deuteranopia (green-blind)
#8B8362
Tritanopia (blue-blind)
#7C857E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #798960;
/* rgb */ color: rgb(121, 137, 96);
/* oklch */ color: oklch(60.6% 0.062 125.5);
Tailwind
colors: {
  custom: {
    50: '#a0ab8d',
    500: '#798960',
    950: '#000000',
  },
}
SCSS
$custom: #798960;
$custom-light: #a0ab8d;
$custom-dark: #000000;
JSON
{
  "hex": "#798960",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 96
  },
  "hsl": {
    "h": 83.415,
    "s": 17.597,
    "l": 45.686
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.06214,
    "h": 125.5
  },
  "luminance": 0.22801
}

Semantic roles & 50–950 ramp

primary
#798960
secondary
#A097AE
accent
#6EBA8B
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E100C
muted
#7E7F7D

Preview Lab

Preview with #798960

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

Preview Lab → · Contrast checker → · Palette generator →

#798960 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva