#4A8720#4A8720

#4A8720 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.1% C 0.148 H 135.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A8720
RGBrgb(74, 135, 32)
HSLhsl(96, 62%, 33%)
HSVhsv(96, 76%, 53%)
CMYKcmyk(45.2%, 0%, 76.3%, 47.1%)
CIE-LABlab(50.56, -37.81, 46.16)
CIE-LCHlch(50.56, 59.66, 129.32°)
OKLaboklab(56.11% -0.1055 0.1035)
OKLCHoklch(56.11% 0.148 135.5)
XYZxyz(11.7484, 18.8874, 4.3928)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8720 #5D2087
analogous
#7D8720 #4A8720 #208729
triadic
#4A8720 #204A87 #87204A
tetradic
#4A8720 #207D87 #5D2087 #872920
square
#4A8720 #207D87 #5D2087 #872920
split-complementary
#4A8720 #292087 #87207D
monochromatic
#142409 #2F5614 #4A8720 #65B82C #84D54D

Accessibility & contrast

On white

4.40
#4A8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4A8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8720
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8720#FFFFFF#000000##000000
##4A87201.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#488273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a8720;
/* rgb */ color: rgb(74, 135, 32);
/* oklch */ color: oklch(56.1% 0.148 135.5);
Tailwind
colors: {
  custom: {
    50: '#82aa63',
    500: '#4a8720',
    950: '#000000',
  },
}
SCSS
$custom: #4a8720;
$custom-light: #82aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8720",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 95.534,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.14776,
    "h": 135.5
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#4A8720
secondary
#8B4BB8
accent
#43E5A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8720

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

Preview Lab → · Contrast checker → · Palette generator →

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