#487C15#487C15

#487C15 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.141 H 133.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#487C15
RGBrgb(72, 124, 21)
HSLhsl(90, 71%, 28%)
HSVhsv(90, 83%, 49%)
CMYKcmyk(41.9%, 0%, 83.1%, 51.4%)
CIE-LABlab(46.77, -34.41, 46.25)
CIE-LCHlch(46.77, 57.65, 126.65°)
OKLaboklab(52.97% -0.0969 0.102)
OKLCHoklch(52.97% 0.141 133.5)
XYZxyz(10.0153, 15.8467, 3.2403)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C15 #49157C
analogous
#7B7C15 #487C15 #157C15
triadic
#487C15 #15487C #7C1548
tetradic
#487C15 #157B7C #49157C #7C1515
square
#487C15 #157B7C #49157C #7C1515
split-complementary
#487C15 #15157C #7C157B
monochromatic
#0F1A04 #2A480C #487C15 #66B01E #85DC30

Accessibility & contrast

On white

5.04
#487C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#487C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C15
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C15#FFFFFF#000000##FFFFFF
##487C151.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#487769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c15;
/* rgb */ color: rgb(72, 124, 21);
/* oklch */ color: oklch(53.0% 0.141 133.5);
Tailwind
colors: {
  custom: {
    50: '#80a25d',
    500: '#487c15',
    950: '#000000',
  },
}
SCSS
$custom: #487c15;
$custom-light: #80a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#487c15",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 90.291,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.14069,
    "h": 133.5
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#487C15
secondary
#773CB1
accent
#3AEE95
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487C15

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

Preview Lab → · Contrast checker → · Palette generator →

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