#487617#487617

#487617 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.4% C 0.132 H 132.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#487617
RGBrgb(72, 118, 23)
HSLhsl(89, 67%, 28%)
HSVhsv(89, 81%, 46%)
CMYKcmyk(39%, 0%, 80.5%, 53.7%)
CIE-LABlab(44.80, -31.60, 43.76)
CIE-LCHlch(44.80, 53.98, 125.84°)
OKLaboklab(51.35% -0.0892 0.0971)
OKLCHoklch(51.35% 0.132 132.6)
XYZxyz(9.3055, 14.3960, 3.0989)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487617 #451776
analogous
#767517 #487617 #187617
triadic
#487617 #174876 #761748
tetradic
#487617 #177675 #451776 #761718
square
#487617 #177675 #451776 #761718
split-complementary
#487617 #171876 #751776
monochromatic
#101A05 #29430D #487617 #67A921 #86D731

Accessibility & contrast

On white

5.41
#487617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#487617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487617
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487617#FFFFFF#000000##FFFFFF
##4876171.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#497164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #487617;
/* rgb */ color: rgb(72, 118, 23);
/* oklch */ color: oklch(51.4% 0.132 132.6);
Tailwind
colors: {
  custom: {
    50: '#7f9e5d',
    500: '#487617',
    950: '#000000',
  },
}
SCSS
$custom: #487617;
$custom-light: #7f9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#487617",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 89.053,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.13185,
    "h": 132.6
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

primary
#487617
secondary
#733EAB
accent
#3EEA91
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487617

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

Preview Lab → · Contrast checker → · Palette generator →

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