#4A8020#4A8020

#4A8020 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.139 H 134.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4A8020
RGBrgb(74, 128, 32)
HSLhsl(94, 60%, 31%)
HSVhsv(94, 75%, 50%)
CMYKcmyk(42.2%, 0%, 75%, 49.8%)
CIE-LABlab(48.26, -34.77, 43.87)
CIE-LCHlch(48.26, 55.98, 128.39°)
OKLaboklab(54.23% -0.0972 0.0987)
OKLCHoklch(54.23% 0.139 134.6)
XYZxyz(10.8037, 16.9979, 4.0779)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8020 #562080
analogous
#7A8020 #4A8020 #208026
triadic
#4A8020 #204A80 #80204A
tetradic
#4A8020 #207A80 #562080 #802620
square
#4A8020 #207A80 #562080 #802620
split-complementary
#4A8020 #262080 #80207A
monochromatic
#111E08 #2E4F14 #4A8020 #66B12C #85D149

Accessibility & contrast

On white

4.77
#4A8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4A8020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8020
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8020#FFFFFF#000000##FFFFFF
##4A80201.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#497B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a8020;
/* rgb */ color: rgb(74, 128, 32);
/* oklch */ color: oklch(54.2% 0.139 134.6);
Tailwind
colors: {
  custom: {
    50: '#81a562',
    500: '#4a8020',
    950: '#000000',
  },
}
SCSS
$custom: #4a8020;
$custom-light: #81a562;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8020",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 93.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.13857,
    "h": 134.6
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#4A8020
secondary
#8549B3
accent
#45E39E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4A8020

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

Preview Lab → · Contrast checker → · Palette generator →

#4A8020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva