#799952#799952

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

Color values

HEX#799952
RGBrgb(121, 153, 82)
HSLhsl(87, 30%, 46%)
HSVhsv(87, 46%, 60%)
CMYKcmyk(20.9%, 0%, 46.4%, 40%)
CIE-LABlab(59.39, -23.67, 33.61)
CIE-LCHlch(59.39, 41.11, 125.16°)
OKLaboklab(64.17% -0.0655 0.0813)
OKLCHoklch(64.17% 0.104 128.9)
XYZxyz(20.7992, 27.4563, 12.1848)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799952 #725299
analogous
#999552 #799952 #559952
triadic
#799952 #527999 #995279
tetradic
#799952 #529995 #725299 #995255
square
#799952 #529995 #725299 #995255
split-complementary
#799952 #525599 #955299
monochromatic
#3A4927 #59713D #799952 #97B474 #B5CA9C

Accessibility & contrast

On white

3.24
#799952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#799952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799952
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799952#FFFFFF#000000##000000
##7999521.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F904C
Deuteranopia (green-blind)
#9A8E56
Tritanopia (blue-blind)
#7C9488
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799952;
/* rgb */ color: rgb(121, 153, 82);
/* oklch */ color: oklch(64.2% 0.104 128.9);
Tailwind
colors: {
  custom: {
    50: '#a1b784',
    500: '#799952',
    950: '#000000',
  },
}
SCSS
$custom: #799952;
$custom-light: #a1b784;
$custom-dark: #000000;
JSON
{
  "hex": "#799952",
  "rgb": {
    "r": 121,
    "g": 153,
    "b": 82
  },
  "hsl": {
    "h": 87.042,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.64173,
    "c": 0.10438,
    "h": 128.9
  },
  "luminance": 0.27457
}

Semantic roles & 50–950 ramp

primary
#799952
secondary
#A190B7
accent
#61C68F
background
#FAFBF8
surface
#F3F6EF
border
#CDD0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #799952

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

Preview Lab → · Contrast checker → · Palette generator →

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