#487E31#487E31

#487E31 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.8% C 0.124 H 137.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#487E31
RGBrgb(72, 126, 49)
HSLhsl(102, 44%, 34%)
HSVhsv(102, 61%, 49%)
CMYKcmyk(42.9%, 0%, 61.1%, 50.6%)
CIE-LABlab(47.65, -33.02, 35.67)
CIE-LCHlch(47.65, 48.61, 132.79°)
OKLaboklab(53.75% -0.0911 0.0836)
OKLCHoklch(53.75% 0.124 137.4)
XYZxyz(10.6874, 16.5206, 5.5308)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E31 #67317E
analogous
#6F7E31 #487E31 #317E41
triadic
#487E31 #31487E #7E3148
tetradic
#487E31 #316F7E #67317E #7E4131
square
#487E31 #316F7E #67317E #7E4131
split-complementary
#487E31 #41317E #7E316F
monochromatic
#16260F #2F5220 #487E31 #61AA42 #82C366

Accessibility & contrast

On white

4.88
#487E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#487E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E31
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E31#FFFFFF#000000##FFFFFF
##487E311.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#7B6F37
Tritanopia (blue-blind)
#457A6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e31;
/* rgb */ color: rgb(72, 126, 49);
/* oklch */ color: oklch(53.8% 0.124 137.4);
Tailwind
colors: {
  custom: {
    50: '#7fa46c',
    500: '#487e31',
    950: '#000000',
  },
}
SCSS
$custom: #487e31;
$custom-light: #7fa46c;
$custom-dark: #000000;
JSON
{
  "hex": "#487e31",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 102.078,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.12363,
    "h": 137.4
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

primary
#487E31
secondary
#9460AB
accent
#54D4AE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #487E31

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

Preview Lab → · Contrast checker → · Palette generator →

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