#799E42#799E42

#799E42 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.2% C 0.128 H 127.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#799E42
RGBrgb(121, 158, 66)
HSLhsl(84, 41%, 44%)
HSVhsv(84, 58%, 62%)
CMYKcmyk(23.4%, 0%, 58.2%, 38%)
CIE-LABlab(60.70, -27.89, 43.16)
CIE-LCHlch(60.70, 51.39, 122.87°)
OKLaboklab(65.17% -0.0785 0.1009)
OKLCHoklch(65.17% 0.128 127.9)
XYZxyz(21.0953, 28.9116, 9.6223)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E42 #67429E
analogous
#9E9542 #799E42 #4B9E42
triadic
#799E42 #42799E #9E4279
tetradic
#799E42 #429E95 #67429E #9E424B
square
#799E42 #429E95 #67429E #9E424B
split-complementary
#799E42 #424B9E #95429E
monochromatic
#37481E #587330 #799E42 #98BD60 #B4CF8C

Accessibility & contrast

On white

3.10
#799E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#799E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799E42
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799E42#FFFFFF#000000##000000
##799E421.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59438
Deuteranopia (green-blind)
#A09248
Tritanopia (blue-blind)
#7D978A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e42;
/* rgb */ color: rgb(121, 158, 66);
/* oklch */ color: oklch(65.2% 0.128 127.9);
Tailwind
colors: {
  custom: {
    50: '#a2ba7a',
    500: '#799e42',
    950: '#000000',
  },
}
SCSS
$custom: #799e42;
$custom-light: #a2ba7a;
$custom-dark: #000000;
JSON
{
  "hex": "#799e42",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 66
  },
  "hsl": {
    "h": 84.13,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65167,
    "c": 0.12786,
    "h": 127.9
  },
  "luminance": 0.28912
}

Semantic roles & 50–950 ramp

primary
#799E42
secondary
#9882BA
accent
#57D188
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799E42

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

Preview Lab → · Contrast checker → · Palette generator →

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