#487111#487111

#487111 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.128 H 131.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#487111
RGBrgb(72, 113, 17)
HSLhsl(86, 74%, 25%)
HSVhsv(86, 85%, 44%)
CMYKcmyk(36.3%, 0%, 85%, 55.7%)
CIE-LABlab(43.10, -29.61, 44.12)
CIE-LCHlch(43.10, 53.14, 123.87°)
OKLaboklab(49.96% -0.0843 0.0968)
OKLCHoklch(49.96% 0.128 131)
XYZxyz(8.6787, 13.2281, 2.6262)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487111 #3A1171
analogous
#716A11 #487111 #187111
triadic
#487111 #114871 #711148
tetradic
#487111 #11716A #3A1171 #711118
square
#487111 #11716A #3A1171 #711118
split-complementary
#487111 #111871 #6A1171
monochromatic
#111B04 #263C09 #487111 #6AA619 #8CDB21

Accessibility & contrast

On white

5.76
#487111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#487111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487111
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487111#FFFFFF#000000##FFFFFF
##4871111.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#4A6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487111;
/* rgb */ color: rgb(72, 113, 17);
/* oklch */ color: oklch(50.0% 0.128 131.0);
Tailwind
colors: {
  custom: {
    50: '#7f9a59',
    500: '#487111',
    950: '#000000',
  },
}
SCSS
$custom: #487111;
$custom-light: #7f9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#487111",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 85.625,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.12837,
    "h": 131
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#487111
secondary
#6736A8
accent
#37F186
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487111

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

Preview Lab → · Contrast checker → · Palette generator →

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