#487C24#487C24

#487C24 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.132 H 135.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#487C24
RGBrgb(72, 124, 36)
HSLhsl(95, 55%, 31%)
HSVhsv(95, 71%, 49%)
CMYKcmyk(41.9%, 0%, 71%, 51.4%)
CIE-LABlab(46.87, -33.40, 40.80)
CIE-LCHlch(46.87, 52.72, 129.30°)
OKLaboklab(53.08% -0.0931 0.0929)
OKLCHoklch(53.08% 0.132 135.1)
XYZxyz(10.1983, 15.9199, 4.2042)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C24 #58247C
analogous
#747C24 #487C24 #247C2C
triadic
#487C24 #24487C #7C2448
tetradic
#487C24 #24747C #58247C #7C2C24
square
#487C24 #24747C #58247C #7C2C24
split-complementary
#487C24 #2C247C #7C2474
monochromatic
#111D08 #2C4D16 #487C24 #64AB32 #82CC4F

Accessibility & contrast

On white

5.02
#487C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487C24
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C24#FFFFFF#000000##FFFFFF
##487C241.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487c24;
/* rgb */ color: rgb(72, 124, 36);
/* oklch */ color: oklch(53.1% 0.132 135.1);
Tailwind
colors: {
  custom: {
    50: '#7fa264',
    500: '#487c24',
    950: '#000000',
  },
}
SCSS
$custom: #487c24;
$custom-light: #7fa264;
$custom-dark: #000000;
JSON
{
  "hex": "#487c24",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 95.455,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.1315,
    "h": 135.1
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#487C24
secondary
#874DAE
accent
#49DEA1
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487C24

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

Preview Lab → · Contrast checker → · Palette generator →

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