#487D1E#487D1E

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

Color values

HEX#487D1E
RGBrgb(72, 125, 30)
HSLhsl(93, 61%, 30%)
HSVhsv(93, 76%, 49%)
CMYKcmyk(42.4%, 0%, 76%, 51%)
CIE-LABlab(47.16, -34.30, 43.51)
CIE-LCHlch(47.16, 55.41, 128.25°)
OKLaboklab(53.3% -0.096 0.0977)
OKLCHoklch(53.3% 0.137 134.5)
XYZxyz(10.2402, 16.1381, 3.8034)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D1E #531E7D
analogous
#777D1E #487D1E #1E7D24
triadic
#487D1E #1E487D #7D1E48
tetradic
#487D1E #1E777D #531E7D #7D241E
square
#487D1E #1E777D #531E7D #7D241E
split-complementary
#487D1E #241E7D #7D1E77
monochromatic
#0F1A06 #2C4C12 #487D1E #64AE2A #82D243

Accessibility & contrast

On white

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

On black

4.23
#487D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487D1E#FFFFFF#000000##FFFFFF
##487D1E1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730C
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#47786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d1e;
/* rgb */ color: rgb(72, 125, 30);
/* oklch */ color: oklch(53.3% 0.137 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a361',
    500: '#487d1e',
    950: '#000000',
  },
}
SCSS
$custom: #487d1e;
$custom-light: #80a361;
$custom-dark: #000000;
JSON
{
  "hex": "#487d1e",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 93.474,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.13696,
    "h": 134.5
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#487D1E
secondary
#8246B0
accent
#43E49D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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