#487D17#487D17

#487D17 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.141 H 133.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#487D17
RGBrgb(72, 125, 23)
HSLhsl(91, 69%, 29%)
HSVhsv(91, 82%, 49%)
CMYKcmyk(42.4%, 0%, 81.6%, 51%)
CIE-LABlab(47.11, -34.74, 45.94)
CIE-LCHlch(47.11, 57.59, 127.10°)
OKLaboklab(53.25% -0.0977 0.1016)
OKLCHoklch(53.25% 0.141 133.9)
XYZxyz(10.1606, 16.1063, 3.3839)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D17 #4C177D
analogous
#7B7D17 #487D17 #177D19
triadic
#487D17 #17487D #7D1748
tetradic
#487D17 #177B7D #4C177D #7D1917
square
#487D17 #177B7D #4C177D #7D1917
split-complementary
#487D17 #19177D #7D177B
monochromatic
#0F1A05 #2A490D #487D17 #66B121 #84DA35

Accessibility & contrast

On white

4.97
#487D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#487D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D17#FFFFFF#000000##FFFFFF
##487D171.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#48786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d17;
/* rgb */ color: rgb(72, 125, 23);
/* oklch */ color: oklch(53.2% 0.141 133.9);
Tailwind
colors: {
  custom: {
    50: '#80a35e',
    500: '#487d17',
    950: '#000000',
  },
}
SCSS
$custom: #487d17;
$custom-light: #80a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#487d17",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 91.176,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.14098,
    "h": 133.9
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#487D17
secondary
#7A3EB2
accent
#3CEC97
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487D17

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

Preview Lab → · Contrast checker → · Palette generator →

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