#487D28#487D28

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

Color values

HEX#487D28
RGBrgb(72, 125, 40)
HSLhsl(97, 52%, 32%)
HSVhsv(97, 68%, 49%)
CMYKcmyk(42.4%, 0%, 68%, 51%)
CIE-LABlab(47.23, -33.49, 39.44)
CIE-LCHlch(47.23, 51.74, 130.34°)
OKLaboklab(53.38% -0.093 0.0906)
OKLCHoklch(53.38% 0.13 135.8)
XYZxyz(10.3888, 16.1976, 4.5861)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D28 #5D287D
analogous
#727D28 #487D28 #287D33
triadic
#487D28 #28487D #7D2848
tetradic
#487D28 #28727D #5D287D #7D3328
square
#487D28 #28727D #5D287D #7D3328
split-complementary
#487D28 #33287D #7D2872
monochromatic
#13200A #2D4F19 #487D28 #63AB37 #82C956

Accessibility & contrast

On white

4.95
#487D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#487D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D28
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D28#FFFFFF#000000##FFFFFF
##487D281.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#46786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d28;
/* rgb */ color: rgb(72, 125, 40);
/* oklch */ color: oklch(53.4% 0.130 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa366',
    500: '#487d28',
    950: '#000000',
  },
}
SCSS
$custom: #487d28;
$custom-light: #7fa366;
$custom-dark: #000000;
JSON
{
  "hex": "#487d28",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 97.412,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.12984,
    "h": 135.8
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

primary
#487D28
secondary
#8C53AE
accent
#4DDBA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487D28

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

Preview Lab → · Contrast checker → · Palette generator →

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