#487017#487017

#487017 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.7% C 0.124 H 131.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#487017
RGBrgb(72, 112, 23)
HSLhsl(87, 66%, 26%)
HSVhsv(87, 79%, 44%)
CMYKcmyk(35.7%, 0%, 79.5%, 56.1%)
CIE-LABlab(42.80, -28.82, 41.86)
CIE-LCHlch(42.80, 50.82, 124.54°)
OKLaboklab(49.73% -0.0817 0.0931)
OKLCHoklch(49.73% 0.124 131.3)
XYZxyz(8.6212, 13.0276, 2.8708)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487017 #3F1770
analogous
#706C17 #487017 #1C7017
triadic
#487017 #174870 #701748
tetradic
#487017 #17706C #3F1770 #70171C
square
#487017 #17706C #3F1770 #70171C
split-complementary
#487017 #171C70 #6C1770
monochromatic
#101905 #273D0D #487017 #69A321 #89D42D

Accessibility & contrast

On white

5.82
#487017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#487017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487017
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487017#FFFFFF#000000##FFFFFF
##4870171.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#496B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #487017;
/* rgb */ color: rgb(72, 112, 23);
/* oklch */ color: oklch(49.7% 0.124 131.3);
Tailwind
colors: {
  custom: {
    50: '#7f995c',
    500: '#487017',
    950: '#000000',
  },
}
SCSS
$custom: #487017;
$custom-light: #7f995c;
$custom-dark: #000000;
JSON
{
  "hex": "#487017",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 86.966,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49725,
    "c": 0.12386,
    "h": 131.3
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#487017
secondary
#6C3DA6
accent
#3FE98B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487017

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

Preview Lab → · Contrast checker → · Palette generator →

#487017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva