#487D2F#487D2F

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

Color values

HEX#487D2F
RGBrgb(72, 125, 47)
HSLhsl(101, 45%, 34%)
HSVhsv(101, 62%, 49%)
CMYKcmyk(42.4%, 0%, 62.4%, 51%)
CIE-LABlab(47.30, -32.79, 36.25)
CIE-LCHlch(47.30, 48.88, 132.13°)
OKLaboklab(53.46% -0.0906 0.0846)
OKLCHoklch(53.46% 0.124 136.9)
XYZxyz(10.5189, 16.2496, 5.2710)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D2F #642F7D
analogous
#6F7D2F #487D2F #2F7D3D
triadic
#487D2F #2F487D #7D2F48
tetradic
#487D2F #2F6F7D #642F7D #7D3D2F
square
#487D2F #2F6F7D #642F7D #7D3D2F
split-complementary
#487D2F #3D2F7D #7D2F6F
monochromatic
#15240E #2E511E #487D2F #62A940 #82C462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487D2F#FFFFFF#000000##FFFFFF
##487D2F1.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)
#817326
Deuteranopia (green-blind)
#7A6E35
Tritanopia (blue-blind)
#46796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d2f;
/* rgb */ color: rgb(72, 125, 47);
/* oklch */ color: oklch(53.5% 0.124 136.9);
Tailwind
colors: {
  custom: {
    50: '#7fa36b',
    500: '#487d2f',
    950: '#000000',
  },
}
SCSS
$custom: #487d2f;
$custom-light: #7fa36b;
$custom-dark: #000000;
JSON
{
  "hex": "#487d2f",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 100.769,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5346,
    "c": 0.12396,
    "h": 136.9
  },
  "luminance": 0.1625
}

Semantic roles & 50–950 ramp

primary
#487D2F
secondary
#925DAB
accent
#53D5AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #487D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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