#4A8A20#4A8A20

#4A8A20 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.152 H 135.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A8A20
RGBrgb(74, 138, 32)
HSLhsl(96, 62%, 33%)
HSVhsv(96, 77%, 54%)
CMYKcmyk(46.4%, 0%, 76.8%, 45.9%)
CIE-LABlab(51.54, -39.08, 47.12)
CIE-LCHlch(51.54, 61.22, 129.67°)
OKLaboklab(56.92% -0.1089 0.1055)
OKLCHoklch(56.92% 0.152 135.9)
XYZxyz(12.1729, 19.7363, 4.5343)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A20 #60208A
analogous
#7F8A20 #4A8A20 #208A2B
triadic
#4A8A20 #204A8A #8A204A
tetradic
#4A8A20 #207F8A #60208A #8A2B20
square
#4A8A20 #207F8A #60208A #8A2B20
split-complementary
#4A8A20 #2B208A #8A207F
monochromatic
#152709 #2F5814 #4A8A20 #65BC2C #84D64E

Accessibility & contrast

On white

4.24
#4A8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4A8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8A20
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8A20#FFFFFF#000000##000000
##4A8A201.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#478576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a20;
/* rgb */ color: rgb(74, 138, 32);
/* oklch */ color: oklch(56.9% 0.152 135.9);
Tailwind
colors: {
  custom: {
    50: '#83ad64',
    500: '#4a8a20',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a20;
$custom-light: #83ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a20",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 96.226,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56918,
    "c": 0.15162,
    "h": 135.9
  },
  "luminance": 0.19737
}

Semantic roles & 50–950 ramp

primary
#4A8A20
secondary
#8E4DB9
accent
#42E5A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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