#799F2D#799F2D

#799F2D is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.2% C 0.146 H 126.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#799F2D
RGBrgb(121, 159, 45)
HSLhsl(80, 56%, 40%)
HSVhsv(80, 72%, 62%)
CMYKcmyk(23.9%, 0%, 71.7%, 37.6%)
CIE-LABlab(60.83, -30.05, 52.35)
CIE-LCHlch(60.83, 60.36, 119.85°)
OKLaboklab(65.21% -0.0864 0.1176)
OKLCHoklch(65.21% 0.146 126.3)
XYZxyz(20.7570, 29.0504, 6.9958)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F2D #532D9F
analogous
#9F8C2D #799F2D #409F2D
triadic
#799F2D #2D799F #9F2D79
tetradic
#799F2D #2D9F8C #532D9F #9F2D40
square
#799F2D #2D9F8C #532D9F #9F2D40
split-complementary
#799F2D #2D409F #8C2D9F
monochromatic
#304012 #556F20 #799F2D #9BC940 #B4D670

Accessibility & contrast

On white

3.08
#799F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#799F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799F2D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799F2D#FFFFFF#000000##000000
##799F2D1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941A
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#7E9789
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799f2d;
/* rgb */ color: rgb(121, 159, 45);
/* oklch */ color: oklch(65.2% 0.146 126.3);
Tailwind
colors: {
  custom: {
    50: '#a3bb6d',
    500: '#799f2d',
    950: '#000000',
  },
}
SCSS
$custom: #799f2d;
$custom-light: #a3bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#799f2d",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 80,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.65208,
    "c": 0.14588,
    "h": 126.3
  },
  "luminance": 0.29051
}

Semantic roles & 50–950 ramp

primary
#799F2D
secondary
#866ABE
accent
#49DF7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #799F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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