#487F17#487F17

#487F17 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.144 H 134.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#487F17
RGBrgb(72, 127, 23)
HSLhsl(92, 69%, 29%)
HSVhsv(92, 82%, 50%)
CMYKcmyk(43.3%, 0%, 81.9%, 50.2%)
CIE-LABlab(47.77, -35.62, 46.55)
CIE-LCHlch(47.77, 58.62, 127.42°)
OKLaboklab(53.79% -0.1 0.1029)
OKLCHoklch(53.79% 0.144 134.2)
XYZxyz(10.4163, 16.6178, 3.4691)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F17 #4E177F
analogous
#7C7F17 #487F17 #177F1A
triadic
#487F17 #17487F #7F1748
tetradic
#487F17 #177C7F #4E177F #7F1A17
square
#487F17 #177C7F #4E177F #7F1A17
split-complementary
#487F17 #1A177F #7F177C
monochromatic
#0F1A05 #2B4B0E #487F17 #65B320 #83DB36

Accessibility & contrast

On white

4.86
#487F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#487F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F17
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F17#FFFFFF#000000##FFFFFF
##487F171.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#477A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487f17;
/* rgb */ color: rgb(72, 127, 23);
/* oklch */ color: oklch(53.8% 0.144 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a45e',
    500: '#487f17',
    950: '#000000',
  },
}
SCSS
$custom: #487f17;
$custom-light: #80a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#487f17",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 91.731,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.14354,
    "h": 134.2
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#487F17
secondary
#7C3EB4
accent
#3CEC99
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487F17

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

Preview Lab → · Contrast checker → · Palette generator →

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