#487A40#487A40

#487A40 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.9% C 0.103 H 141.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#487A40
RGBrgb(72, 122, 64)
HSLhsl(112, 31%, 36%)
HSVhsv(112, 48%, 48%)
CMYKcmyk(41%, 0%, 47.5%, 52.2%)
CIE-LABlab(46.53, -29.20, 26.50)
CIE-LCHlch(46.53, 39.43, 137.77°)
OKLaboklab(52.91% -0.0797 0.0646)
OKLCHoklch(52.91% 0.103 141)
XYZxyz(10.5570, 15.6664, 7.3171)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A40 #72407A
analogous
#657A40 #487A40 #407A55
triadic
#487A40 #40487A #7A4048
tetradic
#487A40 #40657A #72407A #7A5540
square
#487A40 #40657A #72407A #7A5540
split-complementary
#487A40 #55407A #7A4065
monochromatic
#192A16 #30522B #487A40 #60A255 #83BA7B

Accessibility & contrast

On white

5.08
#487A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#487A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A40
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A40#FFFFFF#000000##FFFFFF
##487A401.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713B
Deuteranopia (green-blind)
#766D44
Tritanopia (blue-blind)
#44776C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487a40;
/* rgb */ color: rgb(72, 122, 64);
/* oklch */ color: oklch(52.9% 0.103 141.0);
Tailwind
colors: {
  custom: {
    50: '#7ea176',
    500: '#487a40',
    950: '#000000',
  },
}
SCSS
$custom: #487a40;
$custom-light: #7ea176;
$custom-dark: #000000;
JSON
{
  "hex": "#487a40",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 111.724,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.52905,
    "c": 0.10258,
    "h": 141
  },
  "luminance": 0.15667
}

Semantic roles & 50–950 ramp

primary
#487A40
secondary
#9D72A4
accent
#60C7B9
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#0A0F08
muted
#7C7E7B

Preview Lab

Preview with #487A40

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

Preview Lab → · Contrast checker → · Palette generator →

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