#487511#487511

#487511 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.134 H 131.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#487511
RGBrgb(72, 117, 17)
HSLhsl(87, 75%, 26%)
HSVhsv(87, 85%, 46%)
CMYKcmyk(38.5%, 0%, 85.5%, 54.1%)
CIE-LABlab(44.43, -31.46, 45.32)
CIE-LCHlch(44.43, 55.17, 124.77°)
OKLaboklab(51.04% -0.0892 0.0994)
OKLCHoklch(51.04% 0.134 131.9)
XYZxyz(9.1349, 14.1404, 2.7783)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487511 #3E1175
analogous
#757011 #487511 #167511
triadic
#487511 #114875 #751148
tetradic
#487511 #117570 #3E1175 #751116
square
#487511 #117570 #3E1175 #751116
split-complementary
#487511 #111675 #701175
monochromatic
#101B04 #274009 #487511 #69AA19 #8ADF22

Accessibility & contrast

On white

5.49
#487511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#487511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487511
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487511#FFFFFF#000000##FFFFFF
##4875111.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#497063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #487511;
/* rgb */ color: rgb(72, 117, 17);
/* oklch */ color: oklch(51.0% 0.134 131.9);
Tailwind
colors: {
  custom: {
    50: '#809d5a',
    500: '#487511',
    950: '#000000',
  },
}
SCSS
$custom: #487511;
$custom-light: #809d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#487511",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 87,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51045,
    "c": 0.13357,
    "h": 131.9
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#487511
secondary
#6B36AC
accent
#37F18B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487511

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

Preview Lab → · Contrast checker → · Palette generator →

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