#487D15#487D15

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

Color values

HEX#487D15
RGBrgb(72, 125, 21)
HSLhsl(91, 71%, 29%)
HSVhsv(91, 83%, 49%)
CMYKcmyk(42.4%, 0%, 83.2%, 51%)
CIE-LABlab(47.10, -34.85, 46.55)
CIE-LCHlch(47.10, 58.15, 126.82°)
OKLaboklab(53.24% -0.0981 0.1026)
OKLCHoklch(53.24% 0.142 133.7)
XYZxyz(10.1413, 16.0986, 3.2823)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D15 #4A157D
analogous
#7C7D15 #487D15 #157D16
triadic
#487D15 #15487D #7D1548
tetradic
#487D15 #157C7D #4A157D #7D1615
square
#487D15 #157C7D #4A157D #7D1615
split-complementary
#487D15 #16157D #7D157C
monochromatic
#0F1A04 #2A490C #487D15 #66B11E #85DC30

Accessibility & contrast

On white

4.98
#487D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487D15
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D15#FFFFFF#000000##FFFFFF
##487D151.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487d15;
/* rgb */ color: rgb(72, 125, 21);
/* oklch */ color: oklch(53.2% 0.142 133.7);
Tailwind
colors: {
  custom: {
    50: '#80a35d',
    500: '#487d15',
    950: '#000000',
  },
}
SCSS
$custom: #487d15;
$custom-light: #80a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#487d15",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 90.577,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.14197,
    "h": 133.7
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#487D15
secondary
#783CB2
accent
#3AEE96
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487D15

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

Preview Lab → · Contrast checker → · Palette generator →

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