#487B16#487B16

#487B16 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.139 H 133.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#487B16
RGBrgb(72, 123, 22)
HSLhsl(90, 70%, 28%)
HSVhsv(90, 82%, 48%)
CMYKcmyk(41.5%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.45, -33.91, 45.64)
CIE-LCHlch(46.45, 56.86, 126.62°)
OKLaboklab(52.7% -0.0955 0.1009)
OKLCHoklch(52.7% 0.139 133.4)
XYZxyz(9.9001, 15.6011, 3.2486)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B16 #49167B
analogous
#7A7B16 #487B16 #167B16
triadic
#487B16 #16487B #7B1648
tetradic
#487B16 #167A7B #49167B #7B1616
square
#487B16 #167A7B #49167B #7B1616
split-complementary
#487B16 #16167B #7B167A
monochromatic
#0F1A05 #2A470D #487B16 #66AF1F #85DA31

Accessibility & contrast

On white

5.10
#487B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#487B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B16
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B16#FFFFFF#000000##FFFFFF
##487B161.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#487668
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b16;
/* rgb */ color: rgb(72, 123, 22);
/* oklch */ color: oklch(52.7% 0.139 133.4);
Tailwind
colors: {
  custom: {
    50: '#80a15d',
    500: '#487b16',
    950: '#000000',
  },
}
SCSS
$custom: #487b16;
$custom-light: #80a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#487b16",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 90.297,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.527,
    "c": 0.13891,
    "h": 133.4
  },
  "luminance": 0.15602
}

Semantic roles & 50–950 ramp

primary
#487B16
secondary
#773DB0
accent
#3BEC95
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487B16

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

Preview Lab → · Contrast checker → · Palette generator →

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