#487F15#487F15

#487F15 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.145 H 134.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#487F15
RGBrgb(72, 127, 21)
HSLhsl(91, 72%, 29%)
HSVhsv(91, 83%, 50%)
CMYKcmyk(43.3%, 0%, 83.5%, 50.2%)
CIE-LABlab(47.76, -35.72, 47.16)
CIE-LCHlch(47.76, 59.16, 127.14°)
OKLaboklab(53.78% -0.1004 0.1039)
OKLCHoklch(53.78% 0.145 134)
XYZxyz(10.3970, 16.6100, 3.3675)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F15 #4C157F
analogous
#7D7F15 #487F15 #157F17
triadic
#487F15 #15487F #7F1548
tetradic
#487F15 #157D7F #4C157F #7F1715
square
#487F15 #157D7F #4C157F #7F1715
split-complementary
#487F15 #17157F #7F157D
monochromatic
#0F1A04 #2A4A0C #487F15 #66B41E #84DD31

Accessibility & contrast

On white

4.86
#487F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#487F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F15
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F15#FFFFFF#000000##FFFFFF
##487F151.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f15;
/* rgb */ color: rgb(72, 127, 21);
/* oklch */ color: oklch(53.8% 0.145 134.0);
Tailwind
colors: {
  custom: {
    50: '#81a45d',
    500: '#487f15',
    950: '#000000',
  },
}
SCSS
$custom: #487f15;
$custom-light: #81a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#487f15",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 91.132,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.14452,
    "h": 134
  },
  "luminance": 0.16611
}

Semantic roles & 50–950 ramp

primary
#487F15
secondary
#7A3CB4
accent
#39EE97
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487F15

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

Preview Lab → · Contrast checker → · Palette generator →

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