#487D19#487D19

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

Color values

HEX#487D19
RGBrgb(72, 125, 25)
HSLhsl(92, 67%, 29%)
HSVhsv(92, 80%, 49%)
CMYKcmyk(42.4%, 0%, 80%, 51%)
CIE-LABlab(47.12, -34.63, 45.28)
CIE-LCHlch(47.12, 57.01, 127.40°)
OKLaboklab(53.26% -0.0972 0.1006)
OKLCHoklch(53.26% 0.14 134)
XYZxyz(10.1814, 16.1146, 3.4935)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D19 #4E197D
analogous
#7A7D19 #487D19 #197D1C
triadic
#487D19 #19487D #7D1948
tetradic
#487D19 #197A7D #4E197D #7D1C19
square
#487D19 #197A7D #4E197D #7D1C19
split-complementary
#487D19 #1C197D #7D197A
monochromatic
#0F1A05 #2B4A0F #487D19 #65B023 #83D739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487D19#FFFFFF#000000##FFFFFF
##487D191.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)
#7B6E24
Tritanopia (blue-blind)
#47786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d19;
/* rgb */ color: rgb(72, 125, 25);
/* oklch */ color: oklch(53.3% 0.140 134.0);
Tailwind
colors: {
  custom: {
    50: '#80a35e',
    500: '#487d19',
    950: '#000000',
  },
}
SCSS
$custom: #487d19;
$custom-light: #80a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#487d19",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 91.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.13991,
    "h": 134
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#487D19
secondary
#7C40B1
accent
#3EEA99
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487D19

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

Preview Lab → · Contrast checker → · Palette generator →

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