#799D2F#799D2F

#799D2F is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.7% C 0.142 H 125.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#799D2F
RGBrgb(121, 157, 47)
HSLhsl(80, 54%, 40%)
HSVhsv(80, 70%, 62%)
CMYKcmyk(22.9%, 0%, 70.1%, 38.4%)
CIE-LABlab(60.23, -28.96, 50.98)
CIE-LCHlch(60.23, 58.63, 119.60°)
OKLaboklab(64.73% -0.0832 0.115)
OKLCHoklch(64.73% 0.142 125.9)
XYZxyz(20.4553, 28.3838, 7.0897)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D2F #532F9D
analogous
#9D8A2F #799D2F #429D2F
triadic
#799D2F #2F799D #9D2F79
tetradic
#799D2F #2F9D8A #532F9D #9D2F42
square
#799D2F #2F9D8A #532F9D #9D2F42
split-complementary
#799D2F #2F429D #8A2F9D
monochromatic
#303F13 #556E21 #799D2F #9BC743 #B4D572

Accessibility & contrast

On white

3.15
#799D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#799D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D2F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D2F#FFFFFF#000000##000000
##799D2F1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5931E
Deuteranopia (green-blind)
#A09138
Tritanopia (blue-blind)
#7E9687
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d2f;
/* rgb */ color: rgb(121, 157, 47);
/* oklch */ color: oklch(64.7% 0.142 125.9);
Tailwind
colors: {
  custom: {
    50: '#a3ba6e',
    500: '#799d2f',
    950: '#000000',
  },
}
SCSS
$custom: #799d2f;
$custom-light: #a3ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#799d2f",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 79.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.64733,
    "c": 0.14194,
    "h": 125.9
  },
  "luminance": 0.28384
}

Semantic roles & 50–950 ramp

primary
#799D2F
secondary
#866BBC
accent
#4BDD7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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