#487E27#487E27

#487E27 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.132 H 135.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#487E27
RGBrgb(72, 126, 39)
HSLhsl(97, 53%, 32%)
HSVhsv(97, 69%, 49%)
CMYKcmyk(42.9%, 0%, 69%, 50.6%)
CIE-LABlab(47.55, -34.03, 40.22)
CIE-LCHlch(47.55, 52.69, 130.23°)
OKLaboklab(53.64% -0.0946 0.0921)
OKLCHoklch(53.64% 0.132 135.8)
XYZxyz(10.4993, 16.4453, 4.5401)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E27 #5D277E
analogous
#747E27 #487E27 #277E31
triadic
#487E27 #27487E #7E2748
tetradic
#487E27 #27747E #5D277E #7E3127
square
#487E27 #27747E #5D277E #7E3127
split-complementary
#487E27 #31277E #7E2774
monochromatic
#13210A #2D4F19 #487E27 #63AD35 #82CA55

Accessibility & contrast

On white

4.90
#487E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#487E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E27
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E27#FFFFFF#000000##FFFFFF
##487E271.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#46796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e27;
/* rgb */ color: rgb(72, 126, 39);
/* oklch */ color: oklch(53.6% 0.132 135.8);
Tailwind
colors: {
  custom: {
    50: '#80a466',
    500: '#487e27',
    950: '#000000',
  },
}
SCSS
$custom: #487e27;
$custom-light: #80a466;
$custom-dark: #000000;
JSON
{
  "hex": "#487e27",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 97.241,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53643,
    "c": 0.13201,
    "h": 135.8
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#487E27
secondary
#8C52AF
accent
#4CDCA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487E27

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

Preview Lab → · Contrast checker → · Palette generator →

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