#487240#487240

#487240 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.8% C 0.090 H 140.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#487240
RGBrgb(72, 114, 64)
HSLhsl(110, 28%, 35%)
HSVhsv(110, 44%, 45%)
CMYKcmyk(36.8%, 0%, 43.9%, 55.3%)
CIE-LABlab(43.92, -25.30, 23.18)
CIE-LCHlch(43.92, 34.31, 137.51°)
OKLaboklab(50.78% -0.0691 0.057)
OKLCHoklch(50.78% 0.09 140.5)
XYZxyz(9.6149, 13.7821, 7.0031)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487240 #6A4072
analogous
#617240 #487240 #407251
triadic
#487240 #404872 #724048
tetradic
#487240 #406172 #6A4072 #725140
square
#487240 #406172 #6A4072 #725140
split-complementary
#487240 #514072 #724061
monochromatic
#162414 #2F4B2A #487240 #619956 #82B479

Accessibility & contrast

On white

5.59
#487240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#487240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487240
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487240#FFFFFF#000000##FFFFFF
##4872401.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756A3C
Deuteranopia (green-blind)
#6E6643
Tritanopia (blue-blind)
#456F66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #487240;
/* rgb */ color: rgb(72, 114, 64);
/* oklch */ color: oklch(50.8% 0.090 140.5);
Tailwind
colors: {
  custom: {
    50: '#7d9b75',
    500: '#487240',
    950: '#000000',
  },
}
SCSS
$custom: #487240;
$custom-light: #7d9b75;
$custom-dark: #000000;
JSON
{
  "hex": "#487240",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 110.4,
    "s": 28.09,
    "l": 34.902
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.08954,
    "h": 140.5
  },
  "luminance": 0.13783
}

Semantic roles & 50–950 ramp

primary
#487240
secondary
#976F9F
accent
#63C4B5
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#0A0E08
muted
#7C7E7B

Preview Lab

Preview with #487240

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

Preview Lab → · Contrast checker → · Palette generator →

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