#487D1D#487D1D

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

Color values

HEX#487D1D
RGBrgb(72, 125, 29)
HSLhsl(93, 62%, 30%)
HSVhsv(93, 77%, 49%)
CMYKcmyk(42.4%, 0%, 76.8%, 51%)
CIE-LABlab(47.15, -34.37, 43.88)
CIE-LCHlch(47.15, 55.74, 128.07°)
OKLaboklab(53.29% -0.0963 0.0983)
OKLCHoklch(53.29% 0.138 134.4)
XYZxyz(10.2277, 16.1331, 3.7373)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D1D #521D7D
analogous
#787D1D #487D1D #1D7D22
triadic
#487D1D #1D487D #7D1D48
tetradic
#487D1D #1D787D #521D7D #7D221D
square
#487D1D #1D787D #521D7D #7D221D
split-complementary
#487D1D #221D7D #7D1D78
monochromatic
#0F1A06 #2B4B11 #487D1D #65AF29 #83D341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487D1D#FFFFFF#000000##FFFFFF
##487D1D1.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)
#827309
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#47786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d1d;
/* rgb */ color: rgb(72, 125, 29);
/* oklch */ color: oklch(53.3% 0.138 134.4);
Tailwind
colors: {
  custom: {
    50: '#80a360',
    500: '#487d1d',
    950: '#000000',
  },
}
SCSS
$custom: #487d1d;
$custom-light: #80a360;
$custom-dark: #000000;
JSON
{
  "hex": "#487d1d",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 93.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.13759,
    "h": 134.4
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#487D1D
secondary
#8045B1
accent
#42E59C
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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