#799B52#799B52

#799B52 is a light, moderate yellow-green. Relative luminance 0.281; OKLCH L 64.7% C 0.107 H 129.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#799B52
RGBrgb(121, 155, 82)
HSLhsl(88, 31%, 46%)
HSVhsv(88, 47%, 61%)
CMYKcmyk(21.9%, 0%, 47.1%, 39.2%)
CIE-LABlab(59.99, -24.67, 34.36)
CIE-LCHlch(59.99, 42.29, 125.68°)
OKLaboklab(64.66% -0.0683 0.0829)
OKLCHoklch(64.66% 0.107 129.5)
XYZxyz(21.1293, 28.1164, 12.2948)
Luminance0.2812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B52 #74529B
analogous
#9B9952 #799B52 #559B52
triadic
#799B52 #52799B #9B5279
tetradic
#799B52 #529B99 #74529B #9B5255
square
#799B52 #529B99 #74529B #9B5255
split-complementary
#799B52 #52559B #99529B
monochromatic
#3B4B28 #5A733D #799B52 #97B674 #B5CB9D

Accessibility & contrast

On white

3.17
#799B52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#799B52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B52
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B52#FFFFFF#000000##000000
##799B521.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1924C
Deuteranopia (green-blind)
#9C9056
Tritanopia (blue-blind)
#7C958A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799b52;
/* rgb */ color: rgb(121, 155, 82);
/* oklch */ color: oklch(64.7% 0.107 129.5);
Tailwind
colors: {
  custom: {
    50: '#a1b884',
    500: '#799b52',
    950: '#000000',
  },
}
SCSS
$custom: #799b52;
$custom-light: #a1b884;
$custom-dark: #000000;
JSON
{
  "hex": "#799b52",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 82
  },
  "hsl": {
    "h": 87.945,
    "s": 30.802,
    "l": 46.471
  },
  "oklch": {
    "l": 0.64656,
    "c": 0.10744,
    "h": 129.5
  },
  "luminance": 0.28117
}

Semantic roles & 50–950 ramp

primary
#799B52
secondary
#A391B8
accent
#61C790
background
#FAFBF8
surface
#F3F6EF
border
#CDD0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #799B52

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

Preview Lab → · Contrast checker → · Palette generator →

#799B52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva