#487A16#487A16

#487A16 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.4% C 0.138 H 133.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#487A16
RGBrgb(72, 122, 22)
HSLhsl(90, 69%, 28%)
HSVhsv(90, 82%, 48%)
CMYKcmyk(41%, 0%, 82%, 52.2%)
CIE-LABlab(46.12, -33.47, 45.33)
CIE-LCHlch(46.12, 56.34, 126.44°)
OKLaboklab(52.43% -0.0943 0.1002)
OKLCHoklch(52.43% 0.138 133.3)
XYZxyz(9.7767, 15.3542, 3.2074)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A16 #48167A
analogous
#7A7A16 #487A16 #167A16
triadic
#487A16 #16487A #7A1648
tetradic
#487A16 #167A7A #48167A #7A1616
square
#487A16 #167A7A #48167A #7A1616
split-complementary
#487A16 #16167A #7A167A
monochromatic
#0F1A05 #29460D #487A16 #67AE1F #85DA31

Accessibility & contrast

On white

5.16
#487A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#487A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A16
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A16#FFFFFF#000000##FFFFFF
##487A161.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a16;
/* rgb */ color: rgb(72, 122, 22);
/* oklch */ color: oklch(52.4% 0.138 133.3);
Tailwind
colors: {
  custom: {
    50: '#80a15d',
    500: '#487a16',
    950: '#000000',
  },
}
SCSS
$custom: #487a16;
$custom-light: #80a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#487a16",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52429,
    "c": 0.13762,
    "h": 133.3
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#487A16
secondary
#763DAF
accent
#3CEC94
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #487A16

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

Preview Lab → · Contrast checker → · Palette generator →

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