#487D31#487D31

#487D31 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.5% C 0.122 H 137.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#487D31
RGBrgb(72, 125, 49)
HSLhsl(102, 44%, 34%)
HSVhsv(102, 61%, 49%)
CMYKcmyk(42.4%, 0%, 60.8%, 51%)
CIE-LABlab(47.32, -32.57, 35.30)
CIE-LCHlch(47.32, 48.03, 132.70°)
OKLaboklab(53.49% -0.0898 0.0828)
OKLCHoklch(53.49% 0.122 137.3)
XYZxyz(10.5602, 16.2661, 5.4884)
Luminance0.1627 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D31 #66317D
analogous
#6E7D31 #487D31 #317D40
triadic
#487D31 #31487D #7D3148
tetradic
#487D31 #316E7D #66317D #7D4031
square
#487D31 #316E7D #66317D #7D4031
split-complementary
#487D31 #40317D #7D316E
monochromatic
#15250F #2F5120 #487D31 #61A942 #82C366

Accessibility & contrast

On white

4.94
#487D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#487D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D31
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D31#FFFFFF#000000##FFFFFF
##487D311.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817329
Deuteranopia (green-blind)
#7A6F37
Tritanopia (blue-blind)
#45796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d31;
/* rgb */ color: rgb(72, 125, 49);
/* oklch */ color: oklch(53.5% 0.122 137.3);
Tailwind
colors: {
  custom: {
    50: '#7fa36c',
    500: '#487d31',
    950: '#000000',
  },
}
SCSS
$custom: #487d31;
$custom-light: #7fa36c;
$custom-dark: #000000;
JSON
{
  "hex": "#487d31",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 101.842,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.12217,
    "h": 137.3
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#487D31
secondary
#9460AA
accent
#54D3AD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #487D31

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

Preview Lab → · Contrast checker → · Palette generator →

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