#799E40#799E40

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

Color values

HEX#799E40
RGBrgb(121, 158, 64)
HSLhsl(84, 42%, 44%)
HSVhsv(84, 59%, 62%)
CMYKcmyk(23.4%, 0%, 59.5%, 38%)
CIE-LABlab(60.68, -28.08, 44.08)
CIE-LCHlch(60.68, 52.26, 122.50°)
OKLaboklab(65.14% -0.0792 0.1026)
OKLCHoklch(65.14% 0.13 127.7)
XYZxyz(21.0374, 28.8885, 9.3172)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E40 #65409E
analogous
#9E9440 #799E40 #4A9E40
triadic
#799E40 #40799E #9E4079
tetradic
#799E40 #409E94 #65409E #9E404A
square
#799E40 #409E94 #65409E #9E404A
split-complementary
#799E40 #404A9E #94409E
monochromatic
#36471D #58722E #799E40 #98BE5E #B4CF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799E40#FFFFFF#000000##000000
##799E401.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)
#A59436
Deuteranopia (green-blind)
#A09246
Tritanopia (blue-blind)
#7D978A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e40;
/* rgb */ color: rgb(121, 158, 64);
/* oklch */ color: oklch(65.1% 0.130 127.7);
Tailwind
colors: {
  custom: {
    50: '#a2ba78',
    500: '#799e40',
    950: '#000000',
  },
}
SCSS
$custom: #799e40;
$custom-light: #a2ba78;
$custom-dark: #000000;
JSON
{
  "hex": "#799e40",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 83.617,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65144,
    "c": 0.12967,
    "h": 127.7
  },
  "luminance": 0.28889
}

Semantic roles & 50–950 ramp

primary
#799E40
secondary
#9780BA
accent
#56D287
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799E40

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

Preview Lab → · Contrast checker → · Palette generator →

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