#799220#799220

#799220 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.9% C 0.137 H 121.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#799220
RGBrgb(121, 146, 32)
HSLhsl(73, 64%, 35%)
HSVhsv(73, 78%, 57%)
CMYKcmyk(17.1%, 0%, 78.1%, 42.7%)
CIE-LABlab(56.81, -24.45, 53.12)
CIE-LCHlch(56.81, 58.48, 114.72°)
OKLaboklab(61.93% -0.0722 0.117)
OKLCHoklch(61.93% 0.137 121.7)
XYZxyz(18.4251, 24.7270, 5.1683)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799220 #392092
analogous
#927220 #799220 #409220
triadic
#799220 #207992 #922079
tetradic
#799220 #209272 #392092 #922040
square
#799220 #209272 #392092 #922040
split-complementary
#799220 #204092 #722092
monochromatic
#262E0A #4F6015 #799220 #A3C42B #BCD953

Accessibility & contrast

On white

3.53
#799220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#799220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799220
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799220#FFFFFF#000000##000000
##7992201.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8902
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#808A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799220;
/* rgb */ color: rgb(121, 146, 32);
/* oklch */ color: oklch(61.9% 0.137 121.7);
Tailwind
colors: {
  custom: {
    50: '#a3b265',
    500: '#799220',
    950: '#000000',
  },
}
SCSS
$custom: #799220;
$custom-light: #a3b265;
$custom-dark: #000000;
JSON
{
  "hex": "#799220",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 73.158,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61933,
    "c": 0.13746,
    "h": 121.7
  },
  "luminance": 0.24727
}

Semantic roles & 50–950 ramp

primary
#799220
secondary
#6951BD
accent
#41E765
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #799220

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

Preview Lab → · Contrast checker → · Palette generator →

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