#799E2D#799E2D

#799E2D 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#799E2D
RGBrgb(121, 158, 45)
HSLhsl(80, 56%, 40%)
HSVhsv(80, 72%, 62%)
CMYKcmyk(23.4%, 0%, 71.5%, 38%)
CIE-LABlab(60.52, -29.57, 52.05)
CIE-LCHlch(60.52, 59.86, 119.60°)
OKLaboklab(64.96% -0.0851 0.1169)
OKLCHoklch(64.96% 0.145 126)
XYZxyz(20.5858, 28.7078, 6.9387)
Luminance0.2871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E2D #522D9E
analogous
#9E8B2D #799E2D #419E2D
triadic
#799E2D #2D799E #9E2D79
tetradic
#799E2D #2D9E8B #522D9E #9E2D41
square
#799E2D #2D9E8B #522D9E #9E2D41
split-complementary
#799E2D #2D419E #8B2D9E
monochromatic
#303F12 #556E1F #799E2D #9CC940 #B4D66F

Accessibility & contrast

On white

3.11
#799E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##799E2D#FFFFFF#000000##000000
##799E2D1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #799e2d;
/* rgb */ color: rgb(121, 158, 45);
/* oklch */ color: oklch(65.0% 0.145 126.0);
Tailwind
colors: {
  custom: {
    50: '#a3ba6d',
    500: '#799e2d',
    950: '#000000',
  },
}
SCSS
$custom: #799e2d;
$custom-light: #a3ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#799e2d",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 79.646,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64963,
    "c": 0.1446,
    "h": 126
  },
  "luminance": 0.28708
}

Semantic roles & 50–950 ramp

primary
#799E2D
secondary
#8569BD
accent
#49DF7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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