#487B17#487B17

#487B17 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.138 H 133.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#487B17
RGBrgb(72, 123, 23)
HSLhsl(91, 68%, 29%)
HSVhsv(91, 81%, 48%)
CMYKcmyk(41.5%, 0%, 81.3%, 51.8%)
CIE-LABlab(46.45, -33.86, 45.32)
CIE-LCHlch(46.45, 56.57, 126.76°)
OKLaboklab(52.71% -0.0953 0.1004)
OKLCHoklch(52.71% 0.138 133.5)
XYZxyz(9.9099, 15.6050, 3.3004)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B17 #4A177B
analogous
#7A7B17 #487B17 #177B18
triadic
#487B17 #17487B #7B1748
tetradic
#487B17 #177A7B #4A177B #7B1817
square
#487B17 #177A7B #4A177B #7B1817
split-complementary
#487B17 #18177B #7B177A
monochromatic
#0F1A05 #2A470D #487B17 #66AF21 #85D933

Accessibility & contrast

On white

5.10
#487B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#487B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B17
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B17#FFFFFF#000000##FFFFFF
##487B171.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#487669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b17;
/* rgb */ color: rgb(72, 123, 23);
/* oklch */ color: oklch(52.7% 0.138 133.5);
Tailwind
colors: {
  custom: {
    50: '#80a15d',
    500: '#487b17',
    950: '#000000',
  },
}
SCSS
$custom: #487b17;
$custom-light: #80a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#487b17",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 90.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.1384,
    "h": 133.5
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#487B17
secondary
#783EB0
accent
#3CEB96
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487B17

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

Preview Lab → · Contrast checker → · Palette generator →

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