#487A31#487A31

#487A31 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.7% C 0.118 H 137.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#487A31
RGBrgb(72, 122, 49)
HSLhsl(101, 43%, 34%)
HSVhsv(101, 60%, 48%)
CMYKcmyk(41%, 0%, 59.8%, 52.2%)
CIE-LABlab(46.34, -31.19, 34.16)
CIE-LCHlch(46.34, 46.26, 132.40°)
OKLaboklab(52.68% -0.0861 0.0804)
OKLCHoklch(52.68% 0.118 137)
XYZxyz(10.1861, 15.5180, 5.3637)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A31 #63317A
analogous
#6C7A31 #487A31 #317A3E
triadic
#487A31 #31487A #7A3148
tetradic
#487A31 #316C7A #63317A #7A3E31
square
#487A31 #316C7A #63317A #7A3E31
split-complementary
#487A31 #3E317A #7A316C
monochromatic
#14230E #2E4E1F #487A31 #62A643 #82C164

Accessibility & contrast

On white

5.12
#487A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#487A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A31
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A31#FFFFFF#000000##FFFFFF
##487A311.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E702A
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#46766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487a31;
/* rgb */ color: rgb(72, 122, 49);
/* oklch */ color: oklch(52.7% 0.118 137.0);
Tailwind
colors: {
  custom: {
    50: '#7fa16c',
    500: '#487a31',
    950: '#000000',
  },
}
SCSS
$custom: #487a31;
$custom-light: #7fa16c;
$custom-dark: #000000;
JSON
{
  "hex": "#487a31",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 101.096,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.11775,
    "h": 137
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#487A31
secondary
#915EA8
accent
#55D2AB
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F07
muted
#7C7E7A

Preview Lab

Preview with #487A31

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

Preview Lab → · Contrast checker → · Palette generator →

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