#799820#799820

#799820 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.4% C 0.145 H 123.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#799820
RGBrgb(121, 152, 32)
HSLhsl(76, 65%, 36%)
HSVhsv(76, 79%, 60%)
CMYKcmyk(20.4%, 0%, 78.9%, 40.4%)
CIE-LABlab(58.63, -27.40, 54.80)
CIE-LCHlch(58.63, 61.27, 116.57°)
OKLaboklab(63.4% -0.0802 0.1206)
OKLCHoklch(63.4% 0.145 123.6)
XYZxyz(19.3743, 26.6256, 5.4848)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799820 #3F2098
analogous
#987B20 #799820 #3D9820
triadic
#799820 #207998 #982079
tetradic
#799820 #20987B #3F2098 #98203D
square
#799820 #20987B #3F2098 #98203D
split-complementary
#799820 #203D98 #7B2098
monochromatic
#29330B #516515 #799820 #A1CB2B #B9DC57

Accessibility & contrast

On white

3.32
#799820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#799820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799820
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799820#FFFFFF#000000##000000
##7998201.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#7F9082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #799820;
/* rgb */ color: rgb(121, 152, 32);
/* oklch */ color: oklch(63.4% 0.145 123.6);
Tailwind
colors: {
  custom: {
    50: '#a3b666',
    500: '#799820',
    950: '#000000',
  },
}
SCSS
$custom: #799820;
$custom-light: #a3b666;
$custom-dark: #000000;
JSON
{
  "hex": "#799820",
  "rgb": {
    "r": 121,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 75.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63402,
    "c": 0.14482,
    "h": 123.6
  },
  "luminance": 0.26626
}

Semantic roles & 50–950 ramp

primary
#799820
secondary
#7054BF
accent
#40E86B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799820

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

Preview Lab → · Contrast checker → · Palette generator →

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