#799720#799720

#799720 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 63.2% C 0.144 H 123.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#799720
RGBrgb(121, 151, 32)
HSLhsl(75, 65%, 36%)
HSVhsv(75, 79%, 59%)
CMYKcmyk(19.9%, 0%, 78.8%, 40.8%)
CIE-LABlab(58.32, -26.92, 54.52)
CIE-LCHlch(58.32, 60.80, 116.27°)
OKLaboklab(63.16% -0.0789 0.12)
OKLCHoklch(63.16% 0.144 123.3)
XYZxyz(19.2127, 26.3023, 5.4309)
Luminance0.2630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799720 #3E2097
analogous
#977920 #799720 #3D9720
triadic
#799720 #207997 #972079
tetradic
#799720 #209779 #3E2097 #97203D
square
#799720 #209779 #3E2097 #97203D
split-complementary
#799720 #203D97 #792097
monochromatic
#28320B #516415 #799720 #A1C92B #BADB56

Accessibility & contrast

On white

3.35
#799720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#799720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799720
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799720#FFFFFF#000000##000000
##7997201.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#7F8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #799720;
/* rgb */ color: rgb(121, 151, 32);
/* oklch */ color: oklch(63.2% 0.144 123.3);
Tailwind
colors: {
  custom: {
    50: '#a3b566',
    500: '#799720',
    950: '#000000',
  },
}
SCSS
$custom: #799720;
$custom-light: #a3b566;
$custom-dark: #000000;
JSON
{
  "hex": "#799720",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 75.126,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63157,
    "c": 0.14359,
    "h": 123.3
  },
  "luminance": 0.26302
}

Semantic roles & 50–950 ramp

primary
#799720
secondary
#6F54BF
accent
#40E86A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799720

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

Preview Lab → · Contrast checker → · Palette generator →

#799720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva