#487417#487417

#487417 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.129 H 132.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#487417
RGBrgb(72, 116, 23)
HSLhsl(88, 67%, 27%)
HSVhsv(88, 80%, 45%)
CMYKcmyk(37.9%, 0%, 80.2%, 54.5%)
CIE-LABlab(44.13, -30.69, 43.13)
CIE-LCHlch(44.13, 52.93, 125.43°)
OKLaboklab(50.81% -0.0867 0.0958)
OKLCHoklch(50.81% 0.129 132.2)
XYZxyz(9.0724, 13.9300, 3.0212)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487417 #431774
analogous
#747117 #487417 #1A7417
triadic
#487417 #174874 #741748
tetradic
#487417 #177471 #431774 #74171A
square
#487417 #177471 #431774 #74171A
split-complementary
#487417 #171A74 #711774
monochromatic
#101A05 #28410D #487417 #68A721 #87D630

Accessibility & contrast

On white

5.55
#487417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#487417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487417
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487417#FFFFFF#000000##FFFFFF
##4874171.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B01
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#496F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #487417;
/* rgb */ color: rgb(72, 116, 23);
/* oklch */ color: oklch(50.8% 0.129 132.2);
Tailwind
colors: {
  custom: {
    50: '#7f9c5c',
    500: '#487417',
    950: '#000000',
  },
}
SCSS
$custom: #487417;
$custom-light: #7f9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#487417",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 88.387,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50809,
    "c": 0.1292,
    "h": 132.2
  },
  "luminance": 0.1393
}

Semantic roles & 50–950 ramp

primary
#487417
secondary
#703DA9
accent
#3EEA8F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487417

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

Preview Lab → · Contrast checker → · Palette generator →

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