#799F2A#799F2A

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

Color values

HEX#799F2A
RGBrgb(121, 159, 42)
HSLhsl(79, 58%, 39%)
HSVhsv(79, 74%, 62%)
CMYKcmyk(23.9%, 0%, 73.6%, 37.6%)
CIE-LABlab(60.81, -30.23, 53.46)
CIE-LCHlch(60.81, 61.41, 119.49°)
OKLaboklab(65.19% -0.0871 0.1194)
OKLCHoklch(65.19% 0.148 126.1)
XYZxyz(20.7013, 29.0281, 6.7024)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F2A #502A9F
analogous
#9F8B2A #799F2A #3F9F2A
triadic
#799F2A #2A799F #9F2A79
tetradic
#799F2A #2A9F8B #502A9F #9F2A3F
square
#799F2A #2A9F8B #502A9F #9F2A3F
split-complementary
#799F2A #2A3F9F #8B2A9F
monochromatic
#2F3E10 #546F1D #799F2A #9CCB3B #B5D86B

Accessibility & contrast

On white

3.09
#799F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##799F2A#FFFFFF#000000##000000
##799F2A1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89414
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#7E9788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799f2a;
/* rgb */ color: rgb(121, 159, 42);
/* oklch */ color: oklch(65.2% 0.148 126.1);
Tailwind
colors: {
  custom: {
    50: '#a3bb6c',
    500: '#799f2a',
    950: '#000000',
  },
}
SCSS
$custom: #799f2a;
$custom-light: #a3bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#799f2a",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 79.487,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65186,
    "c": 0.14781,
    "h": 126.1
  },
  "luminance": 0.29028
}

Semantic roles & 50–950 ramp

primary
#799F2A
secondary
#8366BF
accent
#46E179
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #799F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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