#487D20#487D20

#487D20 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.136 H 134.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#487D20
RGBrgb(72, 125, 32)
HSLhsl(94, 59%, 31%)
HSVhsv(94, 74%, 49%)
CMYKcmyk(42.4%, 0%, 74.4%, 51%)
CIE-LABlab(47.17, -34.16, 42.75)
CIE-LCHlch(47.17, 54.72, 128.63°)
OKLaboklab(53.31% -0.0955 0.0964)
OKLCHoklch(53.31% 0.136 134.7)
XYZxyz(10.2666, 16.1487, 3.9423)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D20 #55207D
analogous
#767D20 #487D20 #207D27
triadic
#487D20 #20487D #7D2048
tetradic
#487D20 #20767D #55207D #7D2720
square
#487D20 #20767D #55207D #7D2720
split-complementary
#487D20 #27207D #7D2076
monochromatic
#101C07 #2C4C14 #487D20 #64AE2C #82D047

Accessibility & contrast

On white

4.96
#487D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#487D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D20
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D20#FFFFFF#000000##FFFFFF
##487D201.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#47786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d20;
/* rgb */ color: rgb(72, 125, 32);
/* oklch */ color: oklch(53.3% 0.136 134.7);
Tailwind
colors: {
  custom: {
    50: '#80a362',
    500: '#487d20',
    950: '#000000',
  },
}
SCSS
$custom: #487d20;
$custom-light: #80a362;
$custom-dark: #000000;
JSON
{
  "hex": "#487d20",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 94.194,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.13566,
    "h": 134.7
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#487D20
secondary
#8449B0
accent
#45E29F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487D20

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

Preview Lab → · Contrast checker → · Palette generator →

#487D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva