#799956#799956

#799956 is a light, moderate yellow-green. Relative luminance 0.275; OKLCH L 64.2% C 0.100 H 129.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#799956
RGBrgb(121, 153, 86)
HSLhsl(89, 28%, 47%)
HSVhsv(89, 44%, 60%)
CMYKcmyk(20.9%, 0%, 43.8%, 40%)
CIE-LABlab(59.45, -23.16, 31.58)
CIE-LCHlch(59.45, 39.17, 126.26°)
OKLaboklab(64.24% -0.0638 0.0769)
OKLCHoklch(64.24% 0.1 129.7)
XYZxyz(20.9558, 27.5189, 13.0099)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799956 #765699
analogous
#999856 #799956 #589956
triadic
#799956 #567999 #995679
tetradic
#799956 #569998 #765699 #995658
square
#799956 #569998 #765699 #995658
split-complementary
#799956 #565899 #985699
monochromatic
#3B4B2A #5A7240 #799956 #97B479 #B6CAA0

Accessibility & contrast

On white

3.23
#799956 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#799956 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799956
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799956#FFFFFF#000000##000000
##7999561.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9151
Deuteranopia (green-blind)
#9A8E5A
Tritanopia (blue-blind)
#7B9489
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799956;
/* rgb */ color: rgb(121, 153, 86);
/* oklch */ color: oklch(64.2% 0.100 129.7);
Tailwind
colors: {
  custom: {
    50: '#a1b787',
    500: '#799956',
    950: '#000000',
  },
}
SCSS
$custom: #799956;
$custom-light: #a1b787;
$custom-dark: #000000;
JSON
{
  "hex": "#799956",
  "rgb": {
    "r": 121,
    "g": 153,
    "b": 86
  },
  "hsl": {
    "h": 88.657,
    "s": 28.033,
    "l": 46.863
  },
  "oklch": {
    "l": 0.64238,
    "c": 0.09995,
    "h": 129.7
  },
  "luminance": 0.27519
}

Semantic roles & 50–950 ramp

primary
#799956
secondary
#A594B7
accent
#63C492
background
#FAFBF8
surface
#F3F6EF
border
#CDD0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #799956

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

Preview Lab → · Contrast checker → · Palette generator →

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