#799D24#799D24

#799D24 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.149 H 125.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#799D24
RGBrgb(121, 157, 36)
HSLhsl(78, 63%, 38%)
HSVhsv(78, 77%, 62%)
CMYKcmyk(22.9%, 0%, 77.1%, 38.4%)
CIE-LABlab(60.16, -29.61, 54.94)
CIE-LCHlch(60.16, 62.41, 118.33°)
OKLaboklab(64.65% -0.0859 0.1215)
OKLCHoklch(64.65% 0.149 125.3)
XYZxyz(20.2607, 28.3060, 6.0649)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D24 #48249D
analogous
#9D8424 #799D24 #3D9D24
triadic
#799D24 #24799D #9D2479
tetradic
#799D24 #249D84 #48249D #9D243D
square
#799D24 #249D84 #48249D #9D243D
split-complementary
#799D24 #243D9D #84249D
monochromatic
#2C390D #536B19 #799D24 #9FCF2F #B6DB61

Accessibility & contrast

On white

3.15
#799D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#799D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D24
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D24#FFFFFF#000000##000000
##799D241.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69205
Deuteranopia (green-blind)
#A19130
Tritanopia (blue-blind)
#7F9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d24;
/* rgb */ color: rgb(121, 157, 36);
/* oklch */ color: oklch(64.7% 0.149 125.3);
Tailwind
colors: {
  custom: {
    50: '#a3ba69',
    500: '#799d24',
    950: '#000000',
  },
}
SCSS
$custom: #799d24;
$custom-light: #a3ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#799d24",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 36
  },
  "hsl": {
    "h": 77.851,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64654,
    "c": 0.14884,
    "h": 125.3
  },
  "luminance": 0.28306
}

Semantic roles & 50–950 ramp

primary
#799D24
secondary
#7A5DC0
accent
#42E673
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799D24

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

Preview Lab → · Contrast checker → · Palette generator →

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