#487C1D#487C1D

#487C1D is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.136 H 134.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#487C1D
RGBrgb(72, 124, 29)
HSLhsl(93, 62%, 30%)
HSVhsv(93, 77%, 49%)
CMYKcmyk(41.9%, 0%, 76.6%, 51.4%)
CIE-LABlab(46.82, -33.93, 43.55)
CIE-LCHlch(46.82, 55.21, 127.92°)
OKLaboklab(53.02% -0.0951 0.0976)
OKLCHoklch(53.02% 0.136 134.2)
XYZxyz(10.1017, 15.8812, 3.6953)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C1D #511D7C
analogous
#787C1D #487C1D #1D7C21
triadic
#487C1D #1D487C #7C1D48
tetradic
#487C1D #1D787C #511D7C #7C211D
square
#487C1D #1D787C #511D7C #7C211D
split-complementary
#487C1D #211D7C #7C1D78
monochromatic
#0E1906 #2B4A11 #487C1D #65AE29 #83D341

Accessibility & contrast

On white

5.03
#487C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#487C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C1D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C1D#FFFFFF#000000##FFFFFF
##487C1D1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720A
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#47776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c1d;
/* rgb */ color: rgb(72, 124, 29);
/* oklch */ color: oklch(53.0% 0.136 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a260',
    500: '#487c1d',
    950: '#000000',
  },
}
SCSS
$custom: #487c1d;
$custom-light: #80a260;
$custom-dark: #000000;
JSON
{
  "hex": "#487c1d",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 92.842,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.13626,
    "h": 134.2
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#487C1D
secondary
#7F45B0
accent
#43E59C
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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