#799E2A#799E2A

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

Color values

HEX#799E2A
RGBrgb(121, 158, 42)
HSLhsl(79, 58%, 39%)
HSVhsv(79, 73%, 62%)
CMYKcmyk(23.4%, 0%, 73.4%, 38%)
CIE-LABlab(60.50, -29.75, 53.16)
CIE-LCHlch(60.50, 60.92, 119.24°)
OKLaboklab(64.94% -0.0858 0.1188)
OKLCHoklch(64.94% 0.147 125.9)
XYZxyz(20.5301, 28.6855, 6.6453)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E2A #4F2A9E
analogous
#9E892A #799E2A #3F9E2A
triadic
#799E2A #2A799E #9E2A79
tetradic
#799E2A #2A9E89 #4F2A9E #9E2A3F
square
#799E2A #2A9E89 #4F2A9E #9E2A3F
split-complementary
#799E2A #2A3F9E #892A9E
monochromatic
#2F3D10 #546E1D #799E2A #9DCB3A #B5D86B

Accessibility & contrast

On white

3.12
#799E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##799E2A#FFFFFF#000000##000000
##799E2A1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79314
Deuteranopia (green-blind)
#A29134
Tritanopia (blue-blind)
#7E9688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e2a;
/* rgb */ color: rgb(121, 158, 42);
/* oklch */ color: oklch(64.9% 0.147 125.9);
Tailwind
colors: {
  custom: {
    50: '#a3ba6c',
    500: '#799e2a',
    950: '#000000',
  },
}
SCSS
$custom: #799e2a;
$custom-light: #a3ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#799e2a",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 79.138,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6494,
    "c": 0.14654,
    "h": 125.9
  },
  "luminance": 0.28686
}

Semantic roles & 50–950 ramp

primary
#799E2A
secondary
#8266BE
accent
#47E178
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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