#487A27#487A27

#487A27 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.126 H 135.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#487A27
RGBrgb(72, 122, 39)
HSLhsl(96, 52%, 32%)
HSVhsv(96, 68%, 48%)
CMYKcmyk(41%, 0%, 68%, 52.2%)
CIE-LABlab(46.23, -32.23, 38.81)
CIE-LCHlch(46.23, 50.45, 129.71°)
OKLaboklab(52.56% -0.0897 0.0891)
OKLCHoklch(52.56% 0.126 135.2)
XYZxyz(9.9980, 15.4428, 4.3730)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A27 #59277A
analogous
#727A27 #487A27 #277A30
triadic
#487A27 #27487A #7A2748
tetradic
#487A27 #27727A #59277A #7A3027
square
#487A27 #27727A #59277A #7A3027
split-complementary
#487A27 #30277A #7A2772
monochromatic
#111D09 #2D4C18 #487A27 #63A836 #82C853

Accessibility & contrast

On white

5.14
#487A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#487A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A27
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A27#FFFFFF#000000##FFFFFF
##487A271.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701C
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#477569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487a27;
/* rgb */ color: rgb(72, 122, 39);
/* oklch */ color: oklch(52.6% 0.126 135.2);
Tailwind
colors: {
  custom: {
    50: '#7fa165',
    500: '#487a27',
    950: '#000000',
  },
}
SCSS
$custom: #487a27;
$custom-light: #7fa165;
$custom-dark: #000000;
JSON
{
  "hex": "#487a27",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 96.145,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52564,
    "c": 0.12642,
    "h": 135.2
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#487A27
secondary
#8851AC
accent
#4DDBA2
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #487A27

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

Preview Lab → · Contrast checker → · Palette generator →

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