#799E2C#799E2C

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

Color values

HEX#799E2C
RGBrgb(121, 158, 44)
HSLhsl(79, 56%, 40%)
HSVhsv(79, 72%, 62%)
CMYKcmyk(23.4%, 0%, 72.2%, 38%)
CIE-LABlab(60.52, -29.63, 52.42)
CIE-LCHlch(60.52, 60.22, 119.48°)
OKLaboklab(64.96% -0.0853 0.1176)
OKLCHoklch(64.96% 0.145 126)
XYZxyz(20.5667, 28.7002, 6.8385)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E2C #512C9E
analogous
#9E8A2C #799E2C #409E2C
triadic
#799E2C #2C799E #9E2C79
tetradic
#799E2C #2C9E8A #512C9E #9E2C40
square
#799E2C #2C9E8A #512C9E #9E2C40
split-complementary
#799E2C #2C409E #8A2C9E
monochromatic
#303E11 #546E1F #799E2C #9CC93E #B5D76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799E2C#FFFFFF#000000##000000
##799E2C1.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)
#A69318
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#7E9688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e2c;
/* rgb */ color: rgb(121, 158, 44);
/* oklch */ color: oklch(65.0% 0.145 126.0);
Tailwind
colors: {
  custom: {
    50: '#a3ba6d',
    500: '#799e2c',
    950: '#000000',
  },
}
SCSS
$custom: #799e2c;
$custom-light: #a3ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#799e2c",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 79.474,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64955,
    "c": 0.14526,
    "h": 126
  },
  "luminance": 0.28701
}

Semantic roles & 50–950 ramp

primary
#799E2C
secondary
#8468BE
accent
#48E079
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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