#799B24#799B24

#799B24 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.146 H 124.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#799B24
RGBrgb(121, 155, 36)
HSLhsl(77, 62%, 37%)
HSVhsv(77, 77%, 61%)
CMYKcmyk(21.9%, 0%, 76.8%, 39.2%)
CIE-LABlab(59.56, -28.65, 54.36)
CIE-LCHlch(59.56, 61.45, 117.79°)
OKLaboklab(64.16% -0.0833 0.1203)
OKLCHoklch(64.16% 0.146 124.7)
XYZxyz(19.9251, 27.6348, 5.9530)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B24 #46249B
analogous
#9B8224 #799B24 #3D9B24
triadic
#799B24 #24799B #9B2479
tetradic
#799B24 #249B82 #46249B #9B243D
square
#799B24 #249B82 #46249B #9B243D
split-complementary
#799B24 #243D9B #82249B
monochromatic
#2B380D #526918 #799B24 #A0CD30 #B7DA5F

Accessibility & contrast

On white

3.22
#799B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#799B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B24
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B24#FFFFFF#000000##000000
##799B241.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49107
Deuteranopia (green-blind)
#9F8F2F
Tritanopia (blue-blind)
#7F9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b24;
/* rgb */ color: rgb(121, 155, 36);
/* oklch */ color: oklch(64.2% 0.146 124.7);
Tailwind
colors: {
  custom: {
    50: '#a3b868',
    500: '#799b24',
    950: '#000000',
  },
}
SCSS
$custom: #799b24;
$custom-light: #a3b868;
$custom-dark: #000000;
JSON
{
  "hex": "#799b24",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 36
  },
  "hsl": {
    "h": 77.143,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64163,
    "c": 0.14635,
    "h": 124.7
  },
  "luminance": 0.27635
}

Semantic roles & 50–950 ramp

primary
#799B24
secondary
#785CBF
accent
#42E571
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799B24

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

Preview Lab → · Contrast checker → · Palette generator →

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