#799D47#799D47

#799D47 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 65.0% C 0.122 H 128.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#799D47
RGBrgb(121, 157, 71)
HSLhsl(85, 38%, 45%)
HSVhsv(85, 55%, 62%)
CMYKcmyk(22.9%, 0%, 54.8%, 38.4%)
CIE-LABlab(60.46, -26.90, 40.47)
CIE-LCHlch(60.46, 48.60, 123.62°)
OKLaboklab(64.99% -0.0754 0.0956)
OKLCHoklch(64.99% 0.122 128.3)
XYZxyz(21.0793, 28.6334, 10.3763)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D47 #6B479D
analogous
#9D9647 #799D47 #4E9D47
triadic
#799D47 #47799D #9D4779
tetradic
#799D47 #479D96 #6B479D #9D474E
square
#799D47 #479D96 #6B479D #9D474E
split-complementary
#799D47 #474E9D #96479D
monochromatic
#384921 #597334 #799D47 #97BA67 #B4CD91

Accessibility & contrast

On white

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

On black

6.73
#799D47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D47
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D47#FFFFFF#000000##000000
##799D471.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933F
Deuteranopia (green-blind)
#9F914D
Tritanopia (blue-blind)
#7C978A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799d47;
/* rgb */ color: rgb(121, 157, 71);
/* oklch */ color: oklch(65.0% 0.122 128.3);
Tailwind
colors: {
  custom: {
    50: '#a2ba7d',
    500: '#799d47',
    950: '#000000',
  },
}
SCSS
$custom: #799d47;
$custom-light: #a2ba7d;
$custom-dark: #000000;
JSON
{
  "hex": "#799d47",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 71
  },
  "hsl": {
    "h": 85.116,
    "s": 37.719,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64985,
    "c": 0.12171,
    "h": 128.3
  },
  "luminance": 0.28634
}

Semantic roles & 50–950 ramp

primary
#799D47
secondary
#9C87B9
accent
#5ACE8A
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #799D47

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

Preview Lab → · Contrast checker → · Palette generator →

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