#487717#487717

#487717 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.133 H 132.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#487717
RGBrgb(72, 119, 23)
HSLhsl(89, 68%, 28%)
HSVhsv(89, 81%, 47%)
CMYKcmyk(39.5%, 0%, 80.7%, 53.3%)
CIE-LABlab(45.13, -32.06, 44.07)
CIE-LCHlch(45.13, 54.50, 126.03°)
OKLaboklab(51.62% -0.0905 0.0977)
OKLCHoklch(51.62% 0.133 132.8)
XYZxyz(9.4238, 14.6328, 3.1383)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487717 #461777
analogous
#777617 #487717 #187717
triadic
#487717 #174877 #771748
tetradic
#487717 #177776 #461777 #771718
square
#487717 #177776 #461777 #771718
split-complementary
#487717 #171877 #761777
monochromatic
#101A05 #29440D #487717 #67AA21 #86D731

Accessibility & contrast

On white

5.35
#487717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#487717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487717
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487717#FFFFFF#000000##FFFFFF
##4877171.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#487265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #487717;
/* rgb */ color: rgb(72, 119, 23);
/* oklch */ color: oklch(51.6% 0.133 132.8);
Tailwind
colors: {
  custom: {
    50: '#809e5d',
    500: '#487717',
    950: '#000000',
  },
}
SCSS
$custom: #487717;
$custom-light: #809e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#487717",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 89.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.13317,
    "h": 132.8
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#487717
secondary
#743EAC
accent
#3DEA92
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487717

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

Preview Lab → · Contrast checker → · Palette generator →

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