#799D2D#799D2D

#799D2D is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.7% C 0.143 H 125.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#799D2D
RGBrgb(121, 157, 45)
HSLhsl(79, 55%, 40%)
HSVhsv(79, 71%, 62%)
CMYKcmyk(22.9%, 0%, 71.3%, 38.4%)
CIE-LABlab(60.22, -29.09, 51.75)
CIE-LCHlch(60.22, 59.36, 119.34°)
OKLaboklab(64.72% -0.0838 0.1163)
OKLCHoklch(64.72% 0.143 125.8)
XYZxyz(20.4159, 28.3681, 6.8821)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D2D #512D9D
analogous
#9D892D #799D2D #419D2D
triadic
#799D2D #2D799D #9D2D79
tetradic
#799D2D #2D9D89 #512D9D #9D2D41
square
#799D2D #2D9D89 #512D9D #9D2D41
split-complementary
#799D2D #2D419D #892D9D
monochromatic
#303E12 #546D1F #799D2D #9CC83F #B5D66F

Accessibility & contrast

On white

3.15
#799D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#799D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D2D
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D2D#FFFFFF#000000##000000
##799D2D1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5931A
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#7E9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d2d;
/* rgb */ color: rgb(121, 157, 45);
/* oklch */ color: oklch(64.7% 0.143 125.8);
Tailwind
colors: {
  custom: {
    50: '#a3ba6d',
    500: '#799d2d',
    950: '#000000',
  },
}
SCSS
$custom: #799d2d;
$custom-light: #a3ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#799d2d",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 79.286,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64717,
    "c": 0.14331,
    "h": 125.8
  },
  "luminance": 0.28368
}

Semantic roles & 50–950 ramp

primary
#799D2D
secondary
#8469BD
accent
#49DF79
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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