#799A40#799A40

#799A40 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.2% C 0.124 H 126.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#799A40
RGBrgb(121, 154, 64)
HSLhsl(82, 41%, 43%)
HSVhsv(82, 58%, 60%)
CMYKcmyk(21.4%, 0%, 58.4%, 39.6%)
CIE-LABlab(59.48, -26.13, 42.71)
CIE-LCHlch(59.48, 50.07, 121.46°)
OKLaboklab(64.17% -0.0738 0.0997)
OKLCHoklch(64.17% 0.124 126.5)
XYZxyz(20.3662, 27.5460, 9.0934)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A40 #61409A
analogous
#9A8E40 #799A40 #4C9A40
triadic
#799A40 #40799A #9A4079
tetradic
#799A40 #409A8E #61409A #9A404C
square
#799A40 #409A8E #61409A #9A404C
split-complementary
#799A40 #404C9A #8E409A
monochromatic
#35441C #576F2E #799A40 #98BB5C #B4CD87

Accessibility & contrast

On white

3.23
#799A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#799A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A40
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A40#FFFFFF#000000##000000
##799A401.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19137
Deuteranopia (green-blind)
#9D8F46
Tritanopia (blue-blind)
#7D9386
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a40;
/* rgb */ color: rgb(121, 154, 64);
/* oklch */ color: oklch(64.2% 0.124 126.5);
Tailwind
colors: {
  custom: {
    50: '#a2b878',
    500: '#799a40',
    950: '#000000',
  },
}
SCSS
$custom: #799a40;
$custom-light: #a2b878;
$custom-dark: #000000;
JSON
{
  "hex": "#799a40",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 64
  },
  "hsl": {
    "h": 82,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64168,
    "c": 0.12407,
    "h": 126.5
  },
  "luminance": 0.27546
}

Semantic roles & 50–950 ramp

primary
#799A40
secondary
#937EB8
accent
#57D184
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799A40

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

Preview Lab → · Contrast checker → · Palette generator →

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