#487E15#487E15

#487E15 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.143 H 133.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#487E15
RGBrgb(72, 126, 21)
HSLhsl(91, 71%, 29%)
HSVhsv(91, 83%, 49%)
CMYKcmyk(42.9%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.43, -35.29, 46.86)
CIE-LCHlch(47.43, 58.66, 126.98°)
OKLaboklab(53.51% -0.0993 0.1033)
OKLCHoklch(53.51% 0.143 133.9)
XYZxyz(10.2685, 16.3530, 3.3247)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E15 #4B157E
analogous
#7D7E15 #487E15 #157E16
triadic
#487E15 #15487E #7E1548
tetradic
#487E15 #157D7E #4B157E #7E1615
square
#487E15 #157D7E #4B157E #7E1615
split-complementary
#487E15 #16157E #7E157D
monochromatic
#0F1A04 #2A4A0C #487E15 #66B21E #84DD31

Accessibility & contrast

On white

4.92
#487E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#487E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E15
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E15#FFFFFF#000000##FFFFFF
##487E151.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#48796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487e15;
/* rgb */ color: rgb(72, 126, 21);
/* oklch */ color: oklch(53.5% 0.143 133.9);
Tailwind
colors: {
  custom: {
    50: '#80a45d',
    500: '#487e15',
    950: '#000000',
  },
}
SCSS
$custom: #487e15;
$custom-light: #80a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#487e15",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 90.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.14325,
    "h": 133.9
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#487E15
secondary
#793CB3
accent
#3AEE96
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487E15

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

Preview Lab → · Contrast checker → · Palette generator →

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