#799B40#799B40

#799B40 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.125 H 126.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#799B40
RGBrgb(121, 155, 64)
HSLhsl(82, 42%, 43%)
HSVhsv(82, 59%, 61%)
CMYKcmyk(21.9%, 0%, 58.7%, 39.2%)
CIE-LABlab(59.78, -26.62, 43.05)
CIE-LCHlch(59.78, 50.62, 121.73°)
OKLaboklab(64.41% -0.0752 0.1004)
OKLCHoklch(64.41% 0.125 126.8)
XYZxyz(20.5319, 27.8775, 9.1487)
Luminance0.2788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B40 #62409B
analogous
#9B9040 #799B40 #4B9B40
triadic
#799B40 #40799B #9B4079
tetradic
#799B40 #409B90 #62409B #9B404B
square
#799B40 #409B90 #62409B #9B404B
split-complementary
#799B40 #404B9B #90409B
monochromatic
#35441C #57702E #799B40 #98BC5C #B4CE88

Accessibility & contrast

On white

3.19
#799B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#799B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B40
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B40#FFFFFF#000000##000000
##799B401.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29136
Deuteranopia (green-blind)
#9E8F46
Tritanopia (blue-blind)
#7D9487
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b40;
/* rgb */ color: rgb(121, 155, 64);
/* oklch */ color: oklch(64.4% 0.125 126.8);
Tailwind
colors: {
  custom: {
    50: '#a2b878',
    500: '#799b40',
    950: '#000000',
  },
}
SCSS
$custom: #799b40;
$custom-light: #a2b878;
$custom-dark: #000000;
JSON
{
  "hex": "#799b40",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 64
  },
  "hsl": {
    "h": 82.418,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64412,
    "c": 0.12547,
    "h": 126.8
  },
  "luminance": 0.27878
}

Semantic roles & 50–950 ramp

primary
#799B40
secondary
#947EB8
accent
#56D184
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799B40

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

Preview Lab → · Contrast checker → · Palette generator →

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