#487916#487916

#487916 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.2% C 0.136 H 133.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#487916
RGBrgb(72, 121, 22)
HSLhsl(90, 69%, 28%)
HSVhsv(90, 82%, 47%)
CMYKcmyk(40.5%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.78, -33.02, 45.02)
CIE-LCHlch(45.78, 55.83, 126.26°)
OKLaboklab(52.16% -0.0931 0.0996)
OKLCHoklch(52.16% 0.136 133.1)
XYZxyz(9.6545, 15.1099, 3.1667)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487916 #471679
analogous
#797816 #487916 #167916
triadic
#487916 #164879 #791648
tetradic
#487916 #167978 #471679 #791616
square
#487916 #167978 #471679 #791616
split-complementary
#487916 #161679 #781679
monochromatic
#0F1A05 #29450D #487916 #67AD1F #86D930

Accessibility & contrast

On white

5.22
#487916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#487916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487916
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487916#FFFFFF#000000##FFFFFF
##4879161.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#487467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #487916;
/* rgb */ color: rgb(72, 121, 22);
/* oklch */ color: oklch(52.2% 0.136 133.1);
Tailwind
colors: {
  custom: {
    50: '#80a05d',
    500: '#487916',
    950: '#000000',
  },
}
SCSS
$custom: #487916;
$custom-light: #80a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#487916",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 89.697,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52158,
    "c": 0.13632,
    "h": 133.1
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#487916
secondary
#753DAE
accent
#3CEC93
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487916

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

Preview Lab → · Contrast checker → · Palette generator →

#487916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva