#487D24#487D24

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

Color values

HEX#487D24
RGBrgb(72, 125, 36)
HSLhsl(96, 55%, 32%)
HSVhsv(96, 71%, 49%)
CMYKcmyk(42.4%, 0%, 71.2%, 51%)
CIE-LABlab(47.20, -33.84, 41.14)
CIE-LCHlch(47.20, 53.27, 129.44°)
OKLaboklab(53.35% -0.0943 0.0936)
OKLCHoklch(53.35% 0.133 135.2)
XYZxyz(10.3243, 16.1718, 4.2462)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D24 #59247D
analogous
#757D24 #487D24 #247D2C
triadic
#487D24 #24487D #7D2448
tetradic
#487D24 #24757D #59247D #7D2C24
square
#487D24 #24757D #59247D #7D2C24
split-complementary
#487D24 #2C247D #7D2475
monochromatic
#111E09 #2D4D16 #487D24 #63AD32 #82CC4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487D24#FFFFFF#000000##FFFFFF
##487D241.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)
#827317
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#47786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d24;
/* rgb */ color: rgb(72, 125, 36);
/* oklch */ color: oklch(53.3% 0.133 135.2);
Tailwind
colors: {
  custom: {
    50: '#80a364',
    500: '#487d24',
    950: '#000000',
  },
}
SCSS
$custom: #487d24;
$custom-light: #80a364;
$custom-dark: #000000;
JSON
{
  "hex": "#487d24",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 95.73,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.13288,
    "h": 135.2
  },
  "luminance": 0.16172
}

Semantic roles & 50–950 ramp

primary
#487D24
secondary
#884DAF
accent
#49DFA2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487D24

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

Preview Lab → · Contrast checker → · Palette generator →

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