#487E2F#487E2F

#487E2F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.7% C 0.125 H 137.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#487E2F
RGBrgb(72, 126, 47)
HSLhsl(101, 46%, 34%)
HSVhsv(101, 63%, 49%)
CMYKcmyk(42.9%, 0%, 62.7%, 50.6%)
CIE-LABlab(47.63, -33.24, 36.62)
CIE-LCHlch(47.63, 49.46, 132.23°)
OKLaboklab(53.73% -0.0918 0.0854)
OKLCHoklch(53.73% 0.125 137.1)
XYZxyz(10.6461, 16.5041, 5.3134)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E2F #652F7E
analogous
#707E2F #487E2F #2F7E3E
triadic
#487E2F #2F487E #7E2F48
tetradic
#487E2F #2F707E #652F7E #7E3E2F
square
#487E2F #2F707E #652F7E #7E3E2F
split-complementary
#487E2F #3E2F7E #7E2F70
monochromatic
#15250E #2F511E #487E2F #61AB40 #82C563

Accessibility & contrast

On white

4.88
#487E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#487E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E2F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E2F#FFFFFF#000000##FFFFFF
##487E2F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#457A6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e2f;
/* rgb */ color: rgb(72, 126, 47);
/* oklch */ color: oklch(53.7% 0.125 137.1);
Tailwind
colors: {
  custom: {
    50: '#7fa46b',
    500: '#487e2f',
    950: '#000000',
  },
}
SCSS
$custom: #487e2f;
$custom-light: #7fa46b;
$custom-dark: #000000;
JSON
{
  "hex": "#487e2f",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 101.013,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.12542,
    "h": 137.1
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#487E2F
secondary
#935DAC
accent
#52D5AC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #487E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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