#487E17#487E17

#487E17 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.142 H 134.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#487E17
RGBrgb(72, 126, 23)
HSLhsl(91, 69%, 29%)
HSVhsv(91, 82%, 49%)
CMYKcmyk(42.9%, 0%, 81.7%, 50.6%)
CIE-LABlab(47.44, -35.18, 46.24)
CIE-LCHlch(47.44, 58.11, 127.26°)
OKLaboklab(53.52% -0.0989 0.1023)
OKLCHoklch(53.52% 0.142 134)
XYZxyz(10.2878, 16.3607, 3.4263)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E17 #4D177E
analogous
#7C7E17 #487E17 #177E19
triadic
#487E17 #17487E #7E1748
tetradic
#487E17 #177C7E #4D177E #7E1917
square
#487E17 #177C7E #4D177E #7E1917
split-complementary
#487E17 #19177E #7E177C
monochromatic
#0F1A05 #2A4A0E #487E17 #66B220 #84DA35

Accessibility & contrast

On white

4.92
#487E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#487E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E17
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E17#FFFFFF#000000##FFFFFF
##487E171.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#47796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e17;
/* rgb */ color: rgb(72, 126, 23);
/* oklch */ color: oklch(53.5% 0.142 134.0);
Tailwind
colors: {
  custom: {
    50: '#80a45e',
    500: '#487e17',
    950: '#000000',
  },
}
SCSS
$custom: #487e17;
$custom-light: #80a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#487e17",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 91.456,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.14226,
    "h": 134
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#487E17
secondary
#7B3EB3
accent
#3CEC98
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487E17

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

Preview Lab → · Contrast checker → · Palette generator →

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