#487F2E#487F2E

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

Color values

HEX#487F2E
RGBrgb(72, 127, 46)
HSLhsl(101, 47%, 34%)
HSVhsv(101, 64%, 50%)
CMYKcmyk(43.3%, 0%, 63.8%, 50.2%)
CIE-LABlab(47.95, -33.80, 37.45)
CIE-LCHlch(47.95, 50.45, 132.06°)
OKLaboklab(53.99% -0.0934 0.0871)
OKLCHoklch(53.99% 0.128 137)
XYZxyz(10.7547, 16.7531, 5.2512)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F2E #652E7F
analogous
#717F2E #487F2E #2E7F3D
triadic
#487F2E #2E487F #7F2E48
tetradic
#487F2E #2E717F #652E7F #7F3D2E
square
#487F2E #2E717F #652E7F #7F3D2E
split-complementary
#487F2E #3D2E7F #7F2E71
monochromatic
#15250D #2F521E #487F2E #61AC3E #82C661

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487F2E#FFFFFF#000000##FFFFFF
##487F2E1.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)
#837525
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#457B6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f2e;
/* rgb */ color: rgb(72, 127, 46);
/* oklch */ color: oklch(54.0% 0.128 137.0);
Tailwind
colors: {
  custom: {
    50: '#7fa46a',
    500: '#487f2e',
    950: '#000000',
  },
}
SCSS
$custom: #487f2e;
$custom-light: #7fa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#487f2e",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 100.741,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53986,
    "c": 0.12772,
    "h": 137
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#487F2E
secondary
#935CAD
accent
#51D6AC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #487F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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