#4A9A20#4A9A20

#4A9A20 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.2% C 0.172 H 137.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4A9A20
RGBrgb(74, 154, 32)
HSLhsl(99, 66%, 36%)
HSVhsv(99, 79%, 60%)
CMYKcmyk(51.9%, 0%, 79.2%, 39.6%)
CIE-LABlab(56.75, -45.57, 52.15)
CIE-LCHlch(56.75, 69.26, 131.15°)
OKLaboklab(61.21% -0.1264 0.116)
OKLCHoklch(61.21% 0.172 137.4)
XYZxyz(14.6399, 24.6703, 5.3566)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9A20 #70209A
analogous
#879A20 #4A9A20 #209A33
triadic
#4A9A20 #204A9A #9A204A
tetradic
#4A9A20 #20879A #70209A #9A3320
square
#4A9A20 #20879A #70209A #9A3320
split-complementary
#4A9A20 #33209A #9A2087
monochromatic
#19350B #326715 #4A9A20 #62CD2B #86DC58

Accessibility & contrast

On white

3.54
#4A9A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#4A9A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9A20
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9A20#FFFFFF#000000##000000
##4A9A201.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#449483
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4a9a20;
/* rgb */ color: rgb(74, 154, 32);
/* oklch */ color: oklch(61.2% 0.172 137.4);
Tailwind
colors: {
  custom: {
    50: '#85b866',
    500: '#4a9a20',
    950: '#000000',
  },
}
SCSS
$custom: #4a9a20;
$custom-light: #85b866;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9a20",
  "rgb": {
    "r": 74,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 99.344,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61207,
    "c": 0.17155,
    "h": 137.4
  },
  "luminance": 0.24671
}

Semantic roles & 50–950 ramp

primary
#4A9A20
secondary
#9C56C0
accent
#3FE9AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A9A20

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

Preview Lab → · Contrast checker → · Palette generator →

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