#4A7D20#4A7D20

#4A7D20 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.135 H 134.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A7D20
RGBrgb(74, 125, 32)
HSLhsl(93, 59%, 31%)
HSVhsv(93, 74%, 49%)
CMYKcmyk(40.8%, 0%, 74.4%, 51%)
CIE-LABlab(47.27, -33.43, 42.88)
CIE-LCHlch(47.27, 54.37, 127.94°)
OKLaboklab(53.42% -0.0936 0.0966)
OKLCHoklch(53.42% 0.135 134.1)
XYZxyz(10.4182, 16.2268, 3.9494)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D20 #53207D
analogous
#787D20 #4A7D20 #207D24
triadic
#4A7D20 #204A7D #7D204A
tetradic
#4A7D20 #20787D #53207D #7D2420
square
#4A7D20 #20787D #53207D #7D2420
split-complementary
#4A7D20 #24207D #7D2078
monochromatic
#101C07 #2D4C14 #4A7D20 #67AE2C #85D047

Accessibility & contrast

On white

4.95
#4A7D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4A7D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7D20
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7D20#FFFFFF#000000##FFFFFF
##4A7D201.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#4A786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d20;
/* rgb */ color: rgb(74, 125, 32);
/* oklch */ color: oklch(53.4% 0.135 134.1);
Tailwind
colors: {
  custom: {
    50: '#81a362',
    500: '#4a7d20',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d20;
$custom-light: #81a362;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d20",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 92.903,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.13456,
    "h": 134.1
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#4A7D20
secondary
#8149B0
accent
#45E29B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4A7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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