#487C16#487C16

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

Color values

HEX#487C16
RGBrgb(72, 124, 22)
HSLhsl(91, 70%, 29%)
HSVhsv(91, 82%, 49%)
CMYKcmyk(41.9%, 0%, 82.3%, 51.4%)
CIE-LABlab(46.78, -34.36, 45.94)
CIE-LCHlch(46.78, 57.37, 126.79°)
OKLaboklab(52.97% -0.0967 0.1015)
OKLCHoklch(52.97% 0.14 133.6)
XYZxyz(10.0248, 15.8504, 3.2901)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C16 #4A167C
analogous
#7B7C16 #487C16 #167C17
triadic
#487C16 #16487C #7C1648
tetradic
#487C16 #167B7C #4A167C #7C1716
square
#487C16 #167B7C #4A167C #7C1716
split-complementary
#487C16 #17167C #7C167B
monochromatic
#0F1A05 #2A480D #487C16 #66B01F #85DB32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487C16#FFFFFF#000000##FFFFFF
##487C161.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)
#7A6D22
Tritanopia (blue-blind)
#487769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c16;
/* rgb */ color: rgb(72, 124, 22);
/* oklch */ color: oklch(53.0% 0.140 133.6);
Tailwind
colors: {
  custom: {
    50: '#80a25d',
    500: '#487c16',
    950: '#000000',
  },
}
SCSS
$custom: #487c16;
$custom-light: #80a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#487c16",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 90.588,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.1402,
    "h": 133.6
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#487C16
secondary
#783DB1
accent
#3BED96
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487C16

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

Preview Lab → · Contrast checker → · Palette generator →

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