#487F16#487F16

#487F16 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.144 H 134.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#487F16
RGBrgb(72, 127, 22)
HSLhsl(91, 70%, 29%)
HSVhsv(91, 83%, 50%)
CMYKcmyk(43.3%, 0%, 82.7%, 50.2%)
CIE-LABlab(47.77, -35.67, 46.86)
CIE-LCHlch(47.77, 58.89, 127.28°)
OKLaboklab(53.78% -0.1003 0.1034)
OKLCHoklch(53.78% 0.144 134.1)
XYZxyz(10.4065, 16.6138, 3.4174)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F16 #4D167F
analogous
#7D7F16 #487F16 #167F19
triadic
#487F16 #16487F #7F1648
tetradic
#487F16 #167D7F #4D167F #7F1916
square
#487F16 #167D7F #4D167F #7F1916
split-complementary
#487F16 #19167F #7F167D
monochromatic
#0F1A05 #2A4B0D #487F16 #66B31F #84DC34

Accessibility & contrast

On white

4.86
#487F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#487F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F16
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F16#FFFFFF#000000##FFFFFF
##487F161.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f16;
/* rgb */ color: rgb(72, 127, 22);
/* oklch */ color: oklch(53.8% 0.144 134.1);
Tailwind
colors: {
  custom: {
    50: '#81a45d',
    500: '#487f16',
    950: '#000000',
  },
}
SCSS
$custom: #487f16;
$custom-light: #81a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#487f16",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 91.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.14404,
    "h": 134.1
  },
  "luminance": 0.16614
}

Semantic roles & 50–950 ramp

primary
#487F16
secondary
#7B3DB4
accent
#3BED98
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487F16

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

Preview Lab → · Contrast checker → · Palette generator →

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