#799C24#799C24

#799C24 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.4% C 0.148 H 125.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#799C24
RGBrgb(121, 156, 36)
HSLhsl(78, 63%, 38%)
HSVhsv(78, 77%, 61%)
CMYKcmyk(22.4%, 0%, 76.9%, 38.8%)
CIE-LABlab(59.86, -29.13, 54.65)
CIE-LCHlch(59.86, 61.93, 118.06°)
OKLaboklab(64.41% -0.0846 0.1209)
OKLCHoklch(64.41% 0.148 125)
XYZxyz(20.0922, 27.9690, 6.0087)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C24 #47249C
analogous
#9C8324 #799C24 #3D9C24
triadic
#799C24 #24799C #9C2479
tetradic
#799C24 #249C83 #47249C #9C243D
square
#799C24 #249C83 #47249C #9C243D
split-complementary
#799C24 #243D9C #83249C
monochromatic
#2C390D #526A19 #799C24 #A0CE2F #B7DA60

Accessibility & contrast

On white

3.18
#799C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#799C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C24
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C24#FFFFFF#000000##000000
##799C241.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59106
Deuteranopia (green-blind)
#A09030
Tritanopia (blue-blind)
#7F9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c24;
/* rgb */ color: rgb(121, 156, 36);
/* oklch */ color: oklch(64.4% 0.148 125.0);
Tailwind
colors: {
  custom: {
    50: '#a3b969',
    500: '#799c24',
    950: '#000000',
  },
}
SCSS
$custom: #799c24;
$custom-light: #a3b969;
$custom-dark: #000000;
JSON
{
  "hex": "#799c24",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 36
  },
  "hsl": {
    "h": 77.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64409,
    "c": 0.14759,
    "h": 125
  },
  "luminance": 0.27969
}

Semantic roles & 50–950 ramp

primary
#799C24
secondary
#795CBF
accent
#42E672
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799C24

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

Preview Lab → · Contrast checker → · Palette generator →

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