#487E20#487E20

#487E20 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.137 H 134.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#487E20
RGBrgb(72, 126, 32)
HSLhsl(94, 59%, 31%)
HSVhsv(94, 75%, 49%)
CMYKcmyk(42.9%, 0%, 74.6%, 50.6%)
CIE-LABlab(47.50, -34.60, 43.08)
CIE-LCHlch(47.50, 55.26, 128.77°)
OKLaboklab(53.58% -0.0967 0.0971)
OKLCHoklch(53.58% 0.137 134.9)
XYZxyz(10.3938, 16.4031, 3.9847)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E20 #56207E
analogous
#777E20 #487E20 #207E27
triadic
#487E20 #20487E #7E2048
tetradic
#487E20 #20777E #56207E #7E2720
square
#487E20 #20777E #56207E #7E2720
split-complementary
#487E20 #27207E #7E2077
monochromatic
#101C07 #2C4D14 #487E20 #64AF2C #82D048

Accessibility & contrast

On white

4.91
#487E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#487E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E20
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E20#FFFFFF#000000##FFFFFF
##487E201.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#47796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e20;
/* rgb */ color: rgb(72, 126, 32);
/* oklch */ color: oklch(53.6% 0.137 134.9);
Tailwind
colors: {
  custom: {
    50: '#80a462',
    500: '#487e20',
    950: '#000000',
  },
}
SCSS
$custom: #487e20;
$custom-light: #80a462;
$custom-dark: #000000;
JSON
{
  "hex": "#487e20",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 94.468,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53581,
    "c": 0.137,
    "h": 134.9
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#487E20
secondary
#8549B1
accent
#45E3A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487E20

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

Preview Lab → · Contrast checker → · Palette generator →

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