#487D27#487D27

#487D27 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.131 H 135.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#487D27
RGBrgb(72, 125, 39)
HSLhsl(97, 52%, 32%)
HSVhsv(97, 69%, 49%)
CMYKcmyk(42.4%, 0%, 68.8%, 51%)
CIE-LABlab(47.22, -33.58, 39.87)
CIE-LCHlch(47.22, 52.13, 130.11°)
OKLaboklab(53.37% -0.0933 0.0914)
OKLCHoklch(53.37% 0.131 135.6)
XYZxyz(10.3721, 16.1909, 4.4977)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D27 #5C277D
analogous
#737D27 #487D27 #277D31
triadic
#487D27 #27487D #7D2748
tetradic
#487D27 #27737D #5C277D #7D3127
square
#487D27 #27737D #5C277D #7D3127
split-complementary
#487D27 #31277D #7D2773
monochromatic
#12200A #2D4E18 #487D27 #63AC36 #82CA55

Accessibility & contrast

On white

4.95
#487D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#487D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D27
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D27#FFFFFF#000000##FFFFFF
##487D271.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#46786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d27;
/* rgb */ color: rgb(72, 125, 39);
/* oklch */ color: oklch(53.4% 0.131 135.6);
Tailwind
colors: {
  custom: {
    50: '#7fa366',
    500: '#487d27',
    950: '#000000',
  },
}
SCSS
$custom: #487d27;
$custom-light: #7fa366;
$custom-dark: #000000;
JSON
{
  "hex": "#487d27",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 96.977,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.13062,
    "h": 135.6
  },
  "luminance": 0.16191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #487D27

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

Preview Lab → · Contrast checker → · Palette generator →

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