#799E2F#799E2F

#799E2F is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.143 H 126.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#799E2F
RGBrgb(121, 158, 47)
HSLhsl(80, 54%, 40%)
HSVhsv(80, 70%, 62%)
CMYKcmyk(23.4%, 0%, 70.3%, 38%)
CIE-LABlab(60.54, -29.44, 51.29)
CIE-LCHlch(60.54, 59.13, 119.86°)
OKLaboklab(64.98% -0.0845 0.1156)
OKLCHoklch(64.98% 0.143 126.2)
XYZxyz(20.6252, 28.7236, 7.1464)
Luminance0.2872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E2F #542F9E
analogous
#9E8B2F #799E2F #429E2F
triadic
#799E2F #2F799E #9E2F79
tetradic
#799E2F #2F9E8B #542F9E #9E2F42
square
#799E2F #2F9E8B #542F9E #9E2F42
split-complementary
#799E2F #2F429E #8B2F9E
monochromatic
#314013 #556F21 #799E2F #9BC743 #B4D572

Accessibility & contrast

On white

3.11
#799E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#799E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799E2F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799E2F#FFFFFF#000000##000000
##799E2F1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#7E9788
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e2f;
/* rgb */ color: rgb(121, 158, 47);
/* oklch */ color: oklch(65.0% 0.143 126.2);
Tailwind
colors: {
  custom: {
    50: '#a3ba6e',
    500: '#799e2f',
    950: '#000000',
  },
}
SCSS
$custom: #799e2f;
$custom-light: #a3ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#799e2f",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 80,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64979,
    "c": 0.14323,
    "h": 126.2
  },
  "luminance": 0.28724
}

Semantic roles & 50–950 ramp

primary
#799E2F
secondary
#876CBD
accent
#4ADE7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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