#487C17#487C17

#487C17 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.140 H 133.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#487C17
RGBrgb(72, 124, 23)
HSLhsl(91, 69%, 29%)
HSVhsv(91, 81%, 49%)
CMYKcmyk(41.9%, 0%, 81.5%, 51.4%)
CIE-LABlab(46.78, -34.30, 45.63)
CIE-LCHlch(46.78, 57.08, 126.93°)
OKLaboklab(52.98% -0.0965 0.101)
OKLCHoklch(52.98% 0.14 133.7)
XYZxyz(10.0346, 15.8544, 3.3419)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C17 #4B177C
analogous
#7B7C17 #487C17 #177C19
triadic
#487C17 #17487C #7C1748
tetradic
#487C17 #177B7C #4B177C #7C1917
square
#487C17 #177B7C #4B177C #7C1917
split-complementary
#487C17 #19177C #7C177B
monochromatic
#0F1A05 #2A480D #487C17 #66B021 #84D934

Accessibility & contrast

On white

5.03
#487C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#487C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C17
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C17#FFFFFF#000000##FFFFFF
##487C171.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#487769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c17;
/* rgb */ color: rgb(72, 124, 23);
/* oklch */ color: oklch(53.0% 0.140 133.7);
Tailwind
colors: {
  custom: {
    50: '#80a25d',
    500: '#487c17',
    950: '#000000',
  },
}
SCSS
$custom: #487c17;
$custom-light: #80a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#487c17",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 90.891,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.13969,
    "h": 133.7
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#487C17
secondary
#793EB1
accent
#3CEC97
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487C17

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

Preview Lab → · Contrast checker → · Palette generator →

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