#487D18#487D18

#487D18 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.140 H 133.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#487D18
RGBrgb(72, 125, 24)
HSLhsl(91, 68%, 29%)
HSVhsv(91, 81%, 49%)
CMYKcmyk(42.4%, 0%, 80.8%, 51%)
CIE-LABlab(47.12, -34.69, 45.61)
CIE-LCHlch(47.12, 57.30, 127.25°)
OKLaboklab(53.25% -0.0975 0.1011)
OKLCHoklch(53.25% 0.14 133.9)
XYZxyz(10.1708, 16.1104, 3.4377)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D18 #4D187D
analogous
#7B7D18 #487D18 #187D1B
triadic
#487D18 #18487D #7D1848
tetradic
#487D18 #187B7D #4D187D #7D1B18
square
#487D18 #187B7D #4D187D #7D1B18
split-complementary
#487D18 #1B187D #7D187B
monochromatic
#0F1A05 #2A4A0E #487D18 #66B022 #84D937

Accessibility & contrast

On white

4.97
#487D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487D18
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D18#FFFFFF#000000##FFFFFF
##487D181.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487d18;
/* rgb */ color: rgb(72, 125, 24);
/* oklch */ color: oklch(53.3% 0.140 133.9);
Tailwind
colors: {
  custom: {
    50: '#80a35e',
    500: '#487d18',
    950: '#000000',
  },
}
SCSS
$custom: #487d18;
$custom-light: #80a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#487d18",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 91.485,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53254,
    "c": 0.14046,
    "h": 133.9
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#487D18
secondary
#7B3FB2
accent
#3DEB98
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487D18

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

Preview Lab → · Contrast checker → · Palette generator →

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