#799420#799420

#799420 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.4% C 0.140 H 122.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#799420
RGBrgb(121, 148, 32)
HSLhsl(74, 64%, 35%)
HSVhsv(74, 78%, 58%)
CMYKcmyk(18.2%, 0%, 78.4%, 42%)
CIE-LABlab(57.41, -25.45, 53.68)
CIE-LCHlch(57.41, 59.41, 115.36°)
OKLaboklab(62.42% -0.0749 0.1182)
OKLCHoklch(62.42% 0.14 122.4)
XYZxyz(18.7361, 25.3490, 5.2720)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799420 #3B2094
analogous
#947520 #799420 #3F9420
triadic
#799420 #207994 #942079
tetradic
#799420 #209475 #3B2094 #94203F
square
#799420 #209475 #3B2094 #94203F
split-complementary
#799420 #203F94 #752094
monochromatic
#272F0A #506215 #799420 #A2C62B #BBDA54

Accessibility & contrast

On white

3.46
#799420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#799420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799420
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799420#FFFFFF#000000##000000
##7994201.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B01
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#808C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799420;
/* rgb */ color: rgb(121, 148, 32);
/* oklch */ color: oklch(62.4% 0.140 122.4);
Tailwind
colors: {
  custom: {
    50: '#a3b366',
    500: '#799420',
    950: '#000000',
  },
}
SCSS
$custom: #799420;
$custom-light: #a3b366;
$custom-dark: #000000;
JSON
{
  "hex": "#799420",
  "rgb": {
    "r": 121,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 73.966,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62422,
    "c": 0.13991,
    "h": 122.4
  },
  "luminance": 0.25349
}

Semantic roles & 50–950 ramp

primary
#799420
secondary
#6B52BE
accent
#40E767
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #799420

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

Preview Lab → · Contrast checker → · Palette generator →

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