#799F2E#799F2E

#799F2E 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#799F2E
RGBrgb(121, 159, 46)
HSLhsl(80, 55%, 40%)
HSVhsv(80, 71%, 62%)
CMYKcmyk(23.9%, 0%, 71.1%, 37.6%)
CIE-LABlab(60.83, -29.98, 51.98)
CIE-LCHlch(60.83, 60.00, 119.98°)
OKLaboklab(65.22% -0.0861 0.1169)
OKLCHoklch(65.22% 0.145 126.4)
XYZxyz(20.7765, 29.0581, 7.0984)
Luminance0.2906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F2E #542E9F
analogous
#9F8C2E #799F2E #409F2E
triadic
#799F2E #2E799F #9F2E79
tetradic
#799F2E #2E9F8C #542E9F #9F2E40
square
#799F2E #2E9F8C #542E9F #9F2E40
split-complementary
#799F2E #2E409F #8C2E9F
monochromatic
#314013 #557020 #799F2E #9BC842 #B4D671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #799f2e;
/* rgb */ color: rgb(121, 159, 46);
/* oklch */ color: oklch(65.2% 0.145 126.4);
Tailwind
colors: {
  custom: {
    50: '#a3bb6e',
    500: '#799f2e',
    950: '#000000',
  },
}
SCSS
$custom: #799f2e;
$custom-light: #a3bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#799f2e",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 80.177,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65216,
    "c": 0.14521,
    "h": 126.4
  },
  "luminance": 0.29058
}

Semantic roles & 50–950 ramp

primary
#799F2E
secondary
#876BBE
accent
#49DE7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #799F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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