#799F2C#799F2C

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

Color values

HEX#799F2C
RGBrgb(121, 159, 44)
HSLhsl(80, 57%, 40%)
HSVhsv(80, 72%, 62%)
CMYKcmyk(23.9%, 0%, 72.3%, 37.6%)
CIE-LABlab(60.82, -30.11, 52.73)
CIE-LCHlch(60.82, 60.72, 119.73°)
OKLaboklab(65.2% -0.0866 0.1182)
OKLCHoklch(65.2% 0.147 126.2)
XYZxyz(20.7380, 29.0427, 6.8956)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F2C #522C9F
analogous
#9F8B2C #799F2C #409F2C
triadic
#799F2C #2C799F #9F2C79
tetradic
#799F2C #2C9F8B #522C9F #9F2C40
square
#799F2C #2C9F8B #522C9F #9F2C40
split-complementary
#799F2C #2C409F #8B2C9F
monochromatic
#303F11 #556F1F #799F2C #9CCA3E #B4D76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799F2C#FFFFFF#000000##000000
##799F2C1.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)
#A79418
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#7E9789
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799f2c;
/* rgb */ color: rgb(121, 159, 44);
/* oklch */ color: oklch(65.2% 0.147 126.2);
Tailwind
colors: {
  custom: {
    50: '#a3bb6d',
    500: '#799f2c',
    950: '#000000',
  },
}
SCSS
$custom: #799f2c;
$custom-light: #a3bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#799f2c",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 79.826,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65201,
    "c": 0.14654,
    "h": 126.2
  },
  "luminance": 0.29043
}

Semantic roles & 50–950 ramp

primary
#799F2C
secondary
#8569BE
accent
#48E07A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #799F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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