#487540#487540

#487540 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.6% C 0.094 H 140.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#487540
RGBrgb(72, 117, 64)
HSLhsl(111, 29%, 35%)
HSVhsv(111, 45%, 46%)
CMYKcmyk(38.5%, 0%, 45.3%, 54.1%)
CIE-LABlab(44.90, -26.78, 24.43)
CIE-LCHlch(44.90, 36.25, 137.62°)
OKLaboklab(51.58% -0.0731 0.0598)
OKLCHoklch(51.58% 0.094 140.7)
XYZxyz(9.9588, 14.4700, 7.1177)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487540 #6D4075
analogous
#627540 #487540 #407552
triadic
#487540 #404875 #754048
tetradic
#487540 #406275 #6D4075 #755240
square
#487540 #406275 #6D4075 #755240
split-complementary
#487540 #524075 #754062
monochromatic
#172615 #304D2A #487540 #609D56 #83B679

Accessibility & contrast

On white

5.39
#487540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#487540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487540
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487540#FFFFFF#000000##FFFFFF
##4875401.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#447268
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #487540;
/* rgb */ color: rgb(72, 117, 64);
/* oklch */ color: oklch(51.6% 0.094 140.7);
Tailwind
colors: {
  custom: {
    50: '#7d9d75',
    500: '#487540',
    950: '#000000',
  },
}
SCSS
$custom: #487540;
$custom-light: #7d9d75;
$custom-dark: #000000;
JSON
{
  "hex": "#487540",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 110.943,
    "s": 29.282,
    "l": 35.49
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.09449,
    "h": 140.7
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#487540
secondary
#9970A1
accent
#62C6B7
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#0A0E08
muted
#7C7E7B

Preview Lab

Preview with #487540

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

Preview Lab → · Contrast checker → · Palette generator →

#487540 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva