#799D42#799D42

#799D42 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.126 H 127.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#799D42
RGBrgb(121, 157, 66)
HSLhsl(84, 41%, 44%)
HSVhsv(84, 58%, 62%)
CMYKcmyk(22.9%, 0%, 58%, 38.4%)
CIE-LABlab(60.40, -27.41, 42.82)
CIE-LCHlch(60.40, 50.84, 122.62°)
OKLaboklab(64.92% -0.0772 0.1002)
OKLCHoklch(64.92% 0.126 127.6)
XYZxyz(20.9254, 28.5719, 9.5657)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D42 #66429D
analogous
#9D9342 #799D42 #4B9D42
triadic
#799D42 #42799D #9D4279
tetradic
#799D42 #429D93 #66429D #9D424B
square
#799D42 #429D93 #66429D #9D424B
split-complementary
#799D42 #424B9D #93429D
monochromatic
#37471E #587230 #799D42 #98BC60 #B4CE8B

Accessibility & contrast

On white

3.13
#799D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#799D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D42
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D42#FFFFFF#000000##000000
##799D421.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49339
Deuteranopia (green-blind)
#9F9148
Tritanopia (blue-blind)
#7D9689
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799d42;
/* rgb */ color: rgb(121, 157, 66);
/* oklch */ color: oklch(64.9% 0.126 127.6);
Tailwind
colors: {
  custom: {
    50: '#a2ba79',
    500: '#799d42',
    950: '#000000',
  },
}
SCSS
$custom: #799d42;
$custom-light: #a2ba79;
$custom-dark: #000000;
JSON
{
  "hex": "#799d42",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 66
  },
  "hsl": {
    "h": 83.736,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.64923,
    "c": 0.12644,
    "h": 127.6
  },
  "luminance": 0.28572
}

Semantic roles & 50–950 ramp

primary
#799D42
secondary
#9882B9
accent
#57D187
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799D42

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

Preview Lab → · Contrast checker → · Palette generator →

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