#487D2E#487D2E

#487D2E is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.4% C 0.125 H 136.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#487D2E
RGBrgb(72, 125, 46)
HSLhsl(100, 46%, 34%)
HSVhsv(100, 63%, 49%)
CMYKcmyk(42.4%, 0%, 63.2%, 51%)
CIE-LABlab(47.29, -32.90, 36.72)
CIE-LCHlch(47.29, 49.30, 131.86°)
OKLaboklab(53.45% -0.0909 0.0855)
OKLCHoklch(53.45% 0.125 136.8)
XYZxyz(10.4989, 16.2416, 5.1660)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D2E #632E7D
analogous
#6F7D2E #487D2E #2E7D3B
triadic
#487D2E #2E487D #7D2E48
tetradic
#487D2E #2E6F7D #632E7D #7D3B2E
square
#487D2E #2E6F7D #632E7D #7D3B2E
split-complementary
#487D2E #3B2E7D #7D2E6F
monochromatic
#14240D #2E501E #487D2E #62AA3E #82C561

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487D2E#FFFFFF#000000##FFFFFF
##487D2E1.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)
#817325
Deuteranopia (green-blind)
#7A6E34
Tritanopia (blue-blind)
#46796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d2e;
/* rgb */ color: rgb(72, 125, 46);
/* oklch */ color: oklch(53.4% 0.125 136.8);
Tailwind
colors: {
  custom: {
    50: '#7fa36a',
    500: '#487d2e',
    950: '#000000',
  },
}
SCSS
$custom: #487d2e;
$custom-light: #7fa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#487d2e",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 100.253,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.12485,
    "h": 136.8
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#487D2E
secondary
#915BAB
accent
#52D6AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #487D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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