#487F24#487F24

#487F24 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.136 H 135.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#487F24
RGBrgb(72, 127, 36)
HSLhsl(96, 56%, 32%)
HSVhsv(96, 72%, 50%)
CMYKcmyk(43.3%, 0%, 71.7%, 50.2%)
CIE-LABlab(47.86, -34.73, 41.83)
CIE-LCHlch(47.86, 54.37, 129.70°)
OKLaboklab(53.89% -0.0967 0.0951)
OKLCHoklch(53.89% 0.136 135.5)
XYZxyz(10.5800, 16.6832, 4.3314)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F24 #5B247F
analogous
#767F24 #487F24 #247F2E
triadic
#487F24 #24487F #7F2448
tetradic
#487F24 #24767F #5B247F #7F2E24
square
#487F24 #24767F #5B247F #7F2E24
split-complementary
#487F24 #2E247F #7F2476
monochromatic
#122009 #2D4F16 #487F24 #63AF32 #82CD50

Accessibility & contrast

On white

4.84
#487F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#487F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F24
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F24#FFFFFF#000000##FFFFFF
##487F241.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847416
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#467A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f24;
/* rgb */ color: rgb(72, 127, 36);
/* oklch */ color: oklch(53.9% 0.136 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a464',
    500: '#487f24',
    950: '#000000',
  },
}
SCSS
$custom: #487f24;
$custom-light: #80a464;
$custom-dark: #000000;
JSON
{
  "hex": "#487f24",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 96.264,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.1356,
    "h": 135.5
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#487F24
secondary
#8A4EB1
accent
#49DFA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #487F24

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

Preview Lab → · Contrast checker → · Palette generator →

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