#487A17#487A17

#487A17 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.4% C 0.137 H 133.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#487A17
RGBrgb(72, 122, 23)
HSLhsl(90, 68%, 28%)
HSVhsv(90, 81%, 48%)
CMYKcmyk(41%, 0%, 81.1%, 52.2%)
CIE-LABlab(46.12, -33.41, 45.01)
CIE-LCHlch(46.12, 56.05, 126.59°)
OKLaboklab(52.43% -0.0941 0.0997)
OKLCHoklch(52.43% 0.137 133.4)
XYZxyz(9.7865, 15.3582, 3.2592)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A17 #49177A
analogous
#797A17 #487A17 #177A17
triadic
#487A17 #17487A #7A1748
tetradic
#487A17 #17797A #49177A #7A1717
square
#487A17 #17797A #49177A #7A1717
split-complementary
#487A17 #17177A #7A1779
monochromatic
#0F1A05 #2A470D #487A17 #66AD21 #85D933

Accessibility & contrast

On white

5.16
#487A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#487A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A17
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A17#FFFFFF#000000##FFFFFF
##487A171.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a17;
/* rgb */ color: rgb(72, 122, 23);
/* oklch */ color: oklch(52.4% 0.137 133.4);
Tailwind
colors: {
  custom: {
    50: '#80a15d',
    500: '#487a17',
    950: '#000000',
  },
}
SCSS
$custom: #487a17;
$custom-light: #80a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#487a17",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 90.303,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.13709,
    "h": 133.4
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#487A17
secondary
#773EAF
accent
#3DEB95
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #487A17

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

Preview Lab → · Contrast checker → · Palette generator →

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