#487D25#487D25

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

Color values

HEX#487D25
RGBrgb(72, 125, 37)
HSLhsl(96, 54%, 32%)
HSVhsv(96, 70%, 49%)
CMYKcmyk(42.4%, 0%, 70.4%, 51%)
CIE-LABlab(47.21, -33.76, 40.72)
CIE-LCHlch(47.21, 52.90, 129.66°)
OKLaboklab(53.35% -0.094 0.0929)
OKLCHoklch(53.35% 0.132 135.3)
XYZxyz(10.3398, 16.1780, 4.3277)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D25 #5A257D
analogous
#747D25 #487D25 #257D2E
triadic
#487D25 #25487D #7D2548
tetradic
#487D25 #25747D #5A257D #7D2E25
square
#487D25 #25747D #5A257D #7D2E25
split-complementary
#487D25 #2E257D #7D2574
monochromatic
#121F09 #2D4E17 #487D25 #63AC33 #82CB51

Accessibility & contrast

On white

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

On black

4.24
#487D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487D25#FFFFFF#000000##FFFFFF
##487D251.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487d25;
/* rgb */ color: rgb(72, 125, 37);
/* oklch */ color: oklch(53.4% 0.132 135.3);
Tailwind
colors: {
  custom: {
    50: '#80a365',
    500: '#487d25',
    950: '#000000',
  },
}
SCSS
$custom: #487d25;
$custom-light: #80a365;
$custom-dark: #000000;
JSON
{
  "hex": "#487d25",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 96.136,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53354,
    "c": 0.13214,
    "h": 135.3
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#487D25
secondary
#894FAF
accent
#4ADEA3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487D25

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

Preview Lab → · Contrast checker → · Palette generator →

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