#487D21#487D21

#487D21 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.135 H 134.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#487D21
RGBrgb(72, 125, 33)
HSLhsl(95, 58%, 31%)
HSVhsv(95, 74%, 49%)
CMYKcmyk(42.4%, 0%, 73.6%, 51%)
CIE-LABlab(47.18, -34.08, 42.36)
CIE-LCHlch(47.18, 54.37, 128.82°)
OKLaboklab(53.32% -0.0952 0.0957)
OKLCHoklch(53.32% 0.135 134.8)
XYZxyz(10.2804, 16.1542, 4.0149)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D21 #56217D
analogous
#767D21 #487D21 #217D28
triadic
#487D21 #21487D #7D2148
tetradic
#487D21 #21767D #56217D #7D2821
square
#487D21 #21767D #56217D #7D2821
split-complementary
#487D21 #28217D #7D2176
monochromatic
#101C07 #2C4D14 #487D21 #64AD2E #82CF49

Accessibility & contrast

On white

4.96
#487D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487D21
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D21#FFFFFF#000000##FFFFFF
##487D211.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827312
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#47786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d21;
/* rgb */ color: rgb(72, 125, 33);
/* oklch */ color: oklch(53.3% 0.135 134.8);
Tailwind
colors: {
  custom: {
    50: '#80a362',
    500: '#487d21',
    950: '#000000',
  },
}
SCSS
$custom: #487d21;
$custom-light: #80a362;
$custom-dark: #000000;
JSON
{
  "hex": "#487d21",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 94.565,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.13499,
    "h": 134.8
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#487D21
secondary
#854AB0
accent
#46E1A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487D21

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

Preview Lab → · Contrast checker → · Palette generator →

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