#487E1D#487E1D

#487E1D is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.139 H 134.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#487E1D
RGBrgb(72, 126, 29)
HSLhsl(93, 63%, 30%)
HSVhsv(93, 77%, 49%)
CMYKcmyk(42.9%, 0%, 77%, 50.6%)
CIE-LABlab(47.48, -34.81, 44.20)
CIE-LCHlch(47.48, 56.27, 128.22°)
OKLaboklab(53.56% -0.0975 0.099)
OKLCHoklch(53.56% 0.139 134.6)
XYZxyz(10.3549, 16.3876, 3.7797)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E1D #531D7E
analogous
#787E1D #487E1D #1D7E22
triadic
#487E1D #1D487E #7E1D48
tetradic
#487E1D #1D787E #531D7E #7E221D
square
#487E1D #1D787E #531D7E #7E221D
split-complementary
#487E1D #221D7E #7E1D78
monochromatic
#0F1B06 #2C4C12 #487E1D #64B028 #82D342

Accessibility & contrast

On white

4.91
#487E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#487E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E1D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E1D#FFFFFF#000000##FFFFFF
##487E1D1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837309
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#47796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e1d;
/* rgb */ color: rgb(72, 126, 29);
/* oklch */ color: oklch(53.6% 0.139 134.6);
Tailwind
colors: {
  custom: {
    50: '#80a461',
    500: '#487e1d',
    950: '#000000',
  },
}
SCSS
$custom: #487e1d;
$custom-light: #80a461;
$custom-dark: #000000;
JSON
{
  "hex": "#487e1d",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 93.402,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53558,
    "c": 0.13891,
    "h": 134.6
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#487E1D
secondary
#8245B1
accent
#42E69D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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