#487D16#487D16

#487D16 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.141 H 133.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#487D16
RGBrgb(72, 125, 22)
HSLhsl(91, 70%, 29%)
HSVhsv(91, 82%, 49%)
CMYKcmyk(42.4%, 0%, 82.4%, 51%)
CIE-LABlab(47.11, -34.80, 46.25)
CIE-LCHlch(47.11, 57.88, 126.96°)
OKLaboklab(53.24% -0.0979 0.1021)
OKLCHoklch(53.24% 0.141 133.8)
XYZxyz(10.1507, 16.1023, 3.3321)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D16 #4B167D
analogous
#7C7D16 #487D16 #167D18
triadic
#487D16 #16487D #7D1648
tetradic
#487D16 #167C7D #4B167D #7D1816
square
#487D16 #167C7D #4B167D #7D1816
split-complementary
#487D16 #18167D #7D167C
monochromatic
#0F1A05 #2A490D #487D16 #66B11F #84DB32

Accessibility & contrast

On white

4.98
#487D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#487D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D16
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D16#FFFFFF#000000##FFFFFF
##487D161.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#48786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d16;
/* rgb */ color: rgb(72, 125, 22);
/* oklch */ color: oklch(53.2% 0.141 133.8);
Tailwind
colors: {
  custom: {
    50: '#80a35d',
    500: '#487d16',
    950: '#000000',
  },
}
SCSS
$custom: #487d16;
$custom-light: #80a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#487d16",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 90.874,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.14148,
    "h": 133.8
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

primary
#487D16
secondary
#793DB2
accent
#3BED96
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487D16

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

Preview Lab → · Contrast checker → · Palette generator →

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