#487127#487127

#487127 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.113 H 133.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#487127
RGBrgb(72, 113, 39)
HSLhsl(93, 49%, 30%)
HSVhsv(93, 65%, 44%)
CMYKcmyk(36.3%, 0%, 65.5%, 55.7%)
CIE-LABlab(43.26, -28.02, 35.57)
CIE-LCHlch(43.26, 45.28, 128.23°)
OKLaboklab(50.14% -0.0782 0.0823)
OKLCHoklch(50.14% 0.113 133.5)
XYZxyz(8.9437, 13.3341, 4.0216)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487127 #502771
analogous
#6D7127 #487127 #27712B
triadic
#487127 #274871 #712748
tetradic
#487127 #276D71 #502771 #712B27
square
#487127 #276D71 #502771 #712B27
split-complementary
#487127 #2B2771 #71276D
monochromatic
#0E1708 #2B4417 #487127 #659E37 #83C350

Accessibility & contrast

On white

5.73
#487127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#487127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487127
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487127#FFFFFF#000000##FFFFFF
##4871271.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76681E
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#486D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487127;
/* rgb */ color: rgb(72, 113, 39);
/* oklch */ color: oklch(50.1% 0.113 133.5);
Tailwind
colors: {
  custom: {
    50: '#7e9a65',
    500: '#487127',
    950: '#000000',
  },
}
SCSS
$custom: #487127;
$custom-light: #7e9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#487127",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 93.243,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50138,
    "c": 0.11349,
    "h": 133.5
  },
  "luminance": 0.13334
}

Semantic roles & 50–950 ramp

primary
#487127
secondary
#7E50A3
accent
#50D89B
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487127

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

Preview Lab → · Contrast checker → · Palette generator →

#487127 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva