#487C2E#487C2E

#487C2E is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.2% C 0.123 H 136.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#487C2E
RGBrgb(72, 124, 46)
HSLhsl(100, 46%, 33%)
HSVhsv(100, 63%, 49%)
CMYKcmyk(41.9%, 0%, 62.9%, 51.4%)
CIE-LABlab(46.96, -32.44, 36.35)
CIE-LCHlch(46.96, 48.72, 131.75°)
OKLaboklab(53.18% -0.0897 0.0848)
OKLCHoklch(53.18% 0.123 136.6)
XYZxyz(10.3730, 15.9897, 5.1240)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C2E #622E7C
analogous
#6F7C2E #487C2E #2E7C3B
triadic
#487C2E #2E487C #7C2E48
tetradic
#487C2E #2E6F7C #622E7C #7C3B2E
square
#487C2E #2E6F7C #622E7C #7C3B2E
split-complementary
#487C2E #3B2E7C #7C2E6F
monochromatic
#14230D #2E4F1D #487C2E #62A93F #82C460

Accessibility & contrast

On white

5.00
#487C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#487C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C2E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C2E#FFFFFF#000000##FFFFFF
##487C2E1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#46786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c2e;
/* rgb */ color: rgb(72, 124, 46);
/* oklch */ color: oklch(53.2% 0.123 136.6);
Tailwind
colors: {
  custom: {
    50: '#7fa26a',
    500: '#487c2e',
    950: '#000000',
  },
}
SCSS
$custom: #487c2e;
$custom-light: #7fa26a;
$custom-dark: #000000;
JSON
{
  "hex": "#487c2e",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 100,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.1234,
    "h": 136.6
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#487C2E
secondary
#905BAB
accent
#52D6AA
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #487C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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