#487F2D#487F2D

#487F2D is a mid, vivid green. Relative luminance 0.167; OKLCH L 54.0% C 0.129 H 136.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#487F2D
RGBrgb(72, 127, 45)
HSLhsl(100, 48%, 34%)
HSVhsv(100, 65%, 50%)
CMYKcmyk(43.3%, 0%, 64.6%, 50.2%)
CIE-LABlab(47.94, -33.90, 37.91)
CIE-LCHlch(47.94, 50.86, 131.80°)
OKLaboklab(53.97% -0.0938 0.088)
OKLCHoklch(53.97% 0.129 136.8)
XYZxyz(10.7352, 16.7453, 5.1486)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F2D #642D7F
analogous
#717F2D #487F2D #2D7F3B
triadic
#487F2D #2D487F #7F2D48
tetradic
#487F2D #2D717F #642D7F #7F3B2D
square
#487F2D #2D717F #642D7F #7F3B2D
split-complementary
#487F2D #3B2D7F #7F2D71
monochromatic
#15250D #2E521D #487F2D #62AC3D #82C760

Accessibility & contrast

On white

4.83
#487F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#487F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F2D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F2D#FFFFFF#000000##FFFFFF
##487F2D1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837523
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#467A6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f2d;
/* rgb */ color: rgb(72, 127, 45);
/* oklch */ color: oklch(54.0% 0.129 136.8);
Tailwind
colors: {
  custom: {
    50: '#7fa46a',
    500: '#487f2d',
    950: '#000000',
  },
}
SCSS
$custom: #487f2d;
$custom-light: #7fa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#487f2d",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 100.244,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.12857,
    "h": 136.8
  },
  "luminance": 0.16746
}

Semantic roles & 50–950 ramp

primary
#487F2D
secondary
#925BAD
accent
#51D7AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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