#487E16#487E16

#487E16 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#487E16
RGBrgb(72, 126, 22)
HSLhsl(91, 70%, 29%)
HSVhsv(91, 83%, 49%)
CMYKcmyk(42.9%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.44, -35.23, 46.56)
CIE-LCHlch(47.44, 58.39, 127.12°)
OKLaboklab(53.51% -0.0991 0.1028)
OKLCHoklch(53.51% 0.143 133.9)
XYZxyz(10.2780, 16.3568, 3.3745)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E16 #4C167E
analogous
#7C7E16 #487E16 #167E18
triadic
#487E16 #16487E #7E1648
tetradic
#487E16 #167C7E #4C167E #7E1816
square
#487E16 #167C7E #4C167E #7E1816
split-complementary
#487E16 #18167E #7E167C
monochromatic
#0F1A05 #2A4A0D #487E16 #66B21F #84DB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487E16#FFFFFF#000000##FFFFFF
##487E161.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)
#7C6F22
Tritanopia (blue-blind)
#48796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487e16;
/* rgb */ color: rgb(72, 126, 22);
/* oklch */ color: oklch(53.5% 0.143 133.9);
Tailwind
colors: {
  custom: {
    50: '#80a45d',
    500: '#487e16',
    950: '#000000',
  },
}
SCSS
$custom: #487e16;
$custom-light: #80a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#487e16",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 91.154,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.14276,
    "h": 133.9
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#487E16
secondary
#7A3DB3
accent
#3BED97
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487E16

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

Preview Lab → · Contrast checker → · Palette generator →

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