#487F2F#487F2F

#487F2F is a mid, vivid green. Relative luminance 0.168; OKLCH L 54.0% C 0.127 H 137.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#487F2F
RGBrgb(72, 127, 47)
HSLhsl(101, 46%, 34%)
HSVhsv(101, 63%, 50%)
CMYKcmyk(43.3%, 0%, 63%, 50.2%)
CIE-LABlab(47.96, -33.69, 36.99)
CIE-LCHlch(47.96, 50.03, 132.33°)
OKLaboklab(54% -0.093 0.0862)
OKLCHoklch(54% 0.127 137.2)
XYZxyz(10.7746, 16.7611, 5.3562)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F2F #662F7F
analogous
#707F2F #487F2F #2F7F3E
triadic
#487F2F #2F487F #7F2F48
tetradic
#487F2F #2F707F #662F7F #7F3E2F
square
#487F2F #2F707F #662F7F #7F3E2F
split-complementary
#487F2F #3E2F7F #7F2F70
monochromatic
#15260E #2F521E #487F2F #61AC40 #82C563

Accessibility & contrast

On white

4.82
#487F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487F2F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F2F#FFFFFF#000000##FFFFFF
##487F2F1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837526
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#457B6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f2f;
/* rgb */ color: rgb(72, 127, 47);
/* oklch */ color: oklch(54.0% 0.127 137.2);
Tailwind
colors: {
  custom: {
    50: '#7fa46b',
    500: '#487f2f',
    950: '#000000',
  },
}
SCSS
$custom: #487f2f;
$custom-light: #7fa46b;
$custom-dark: #000000;
JSON
{
  "hex": "#487f2f",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 101.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53998,
    "c": 0.12685,
    "h": 137.2
  },
  "luminance": 0.16762
}

Semantic roles & 50–950 ramp

primary
#487F2F
secondary
#945EAC
accent
#52D6AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #487F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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