#799F2F#799F2F

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

Color values

HEX#799F2F
RGBrgb(121, 159, 47)
HSLhsl(80, 54%, 40%)
HSVhsv(80, 70%, 62%)
CMYKcmyk(23.9%, 0%, 70.4%, 37.6%)
CIE-LABlab(60.84, -29.91, 51.59)
CIE-LCHlch(60.84, 59.64, 120.11°)
OKLaboklab(65.22% -0.0858 0.1163)
OKLCHoklch(65.22% 0.145 126.4)
XYZxyz(20.7965, 29.0661, 7.2034)
Luminance0.2907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F2F #552F9F
analogous
#9F8D2F #799F2F #419F2F
triadic
#799F2F #2F799F #9F2F79
tetradic
#799F2F #2F9F8D #552F9F #9F2F41
square
#799F2F #2F9F8D #552F9F #9F2F41
split-complementary
#799F2F #2F419F #8D2F9F
monochromatic
#314113 #557021 #799F2F #9BC844 #B4D673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799F2F#FFFFFF#000000##000000
##799F2F1.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)
#A7941D
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#7E9889
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799f2f;
/* rgb */ color: rgb(121, 159, 47);
/* oklch */ color: oklch(65.2% 0.145 126.4);
Tailwind
colors: {
  custom: {
    50: '#a3bb6e',
    500: '#799f2f',
    950: '#000000',
  },
}
SCSS
$custom: #799f2f;
$custom-light: #a3bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#799f2f",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 80.357,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65224,
    "c": 0.14453,
    "h": 126.4
  },
  "luminance": 0.29066
}

Semantic roles & 50–950 ramp

primary
#799F2F
secondary
#886DBD
accent
#4ADE7C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #799F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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