#487F20#487F20

#487F20 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.138 H 135.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#487F20
RGBrgb(72, 127, 32)
HSLhsl(95, 60%, 31%)
HSVhsv(95, 75%, 50%)
CMYKcmyk(43.3%, 0%, 74.8%, 50.2%)
CIE-LABlab(47.83, -35.04, 43.41)
CIE-LCHlch(47.83, 55.79, 128.91°)
OKLaboklab(53.85% -0.0979 0.0978)
OKLCHoklch(53.85% 0.138 135)
XYZxyz(10.5223, 16.6602, 4.0275)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F20 #57207F
analogous
#777F20 #487F20 #207F27
triadic
#487F20 #20487F #7F2048
tetradic
#487F20 #20777F #57207F #7F2720
square
#487F20 #20777F #57207F #7F2720
split-complementary
#487F20 #27207F #7F2077
monochromatic
#111D07 #2C4E14 #487F20 #64B02C #82D148

Accessibility & contrast

On white

4.85
#487F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#487F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F20
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F20#FFFFFF#000000##FFFFFF
##487F201.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f20;
/* rgb */ color: rgb(72, 127, 32);
/* oklch */ color: oklch(53.9% 0.138 135.0);
Tailwind
colors: {
  custom: {
    50: '#80a462',
    500: '#487f20',
    950: '#000000',
  },
}
SCSS
$custom: #487f20;
$custom-light: #80a462;
$custom-dark: #000000;
JSON
{
  "hex": "#487f20",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 94.737,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.13834,
    "h": 135
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#487F20
secondary
#8649B2
accent
#45E3A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487F20

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

Preview Lab → · Contrast checker → · Palette generator →

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