#487E24#487E24

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

Color values

HEX#487E24
RGBrgb(72, 126, 36)
HSLhsl(96, 56%, 32%)
HSVhsv(96, 71%, 49%)
CMYKcmyk(42.9%, 0%, 71.4%, 50.6%)
CIE-LABlab(47.53, -34.29, 41.48)
CIE-LCHlch(47.53, 53.82, 129.57°)
OKLaboklab(53.62% -0.0955 0.0943)
OKLCHoklch(53.62% 0.134 135.4)
XYZxyz(10.4515, 16.4262, 4.2886)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E24 #5A247E
analogous
#757E24 #487E24 #247E2D
triadic
#487E24 #24487E #7E2448
tetradic
#487E24 #24757E #5A247E #7E2D24
square
#487E24 #24757E #5A247E #7E2D24
split-complementary
#487E24 #2D247E #7E2475
monochromatic
#121F09 #2D4E16 #487E24 #63AE32 #82CD50

Accessibility & contrast

On white

4.90
#487E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#487E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E24
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E24#FFFFFF#000000##FFFFFF
##487E241.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837416
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#47796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e24;
/* rgb */ color: rgb(72, 126, 36);
/* oklch */ color: oklch(53.6% 0.134 135.4);
Tailwind
colors: {
  custom: {
    50: '#80a464',
    500: '#487e24',
    950: '#000000',
  },
}
SCSS
$custom: #487e24;
$custom-light: #80a464;
$custom-dark: #000000;
JSON
{
  "hex": "#487e24",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 96,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.13425,
    "h": 135.4
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#487E24
secondary
#894EB0
accent
#49DFA3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #487E24

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

Preview Lab → · Contrast checker → · Palette generator →

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