#487116#487116

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

Color values

HEX#487116
RGBrgb(72, 113, 22)
HSLhsl(87, 67%, 26%)
HSVhsv(87, 81%, 44%)
CMYKcmyk(36.3%, 0%, 80.5%, 55.7%)
CIE-LABlab(43.13, -29.35, 42.53)
CIE-LCHlch(43.13, 51.67, 124.61°)
OKLaboklab(49.99% -0.0832 0.0943)
OKLCHoklch(49.99% 0.126 131.4)
XYZxyz(8.7224, 13.2456, 2.8560)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487116 #3F1671
analogous
#716D16 #487116 #1B7116
triadic
#487116 #164871 #711648
tetradic
#487116 #16716D #3F1671 #71161B
square
#487116 #16716D #3F1671 #71161B
split-complementary
#487116 #161B71 #6D1671
monochromatic
#101A05 #273E0C #487116 #69A420 #89D62C

Accessibility & contrast

On white

5.75
#487116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487116
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487116#FFFFFF#000000##FFFFFF
##4871161.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766801
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#496C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487116;
/* rgb */ color: rgb(72, 113, 22);
/* oklch */ color: oklch(50.0% 0.126 131.4);
Tailwind
colors: {
  custom: {
    50: '#7f9a5b',
    500: '#487116',
    950: '#000000',
  },
}
SCSS
$custom: #487116;
$custom-light: #7f9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#487116",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 87.033,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49989,
    "c": 0.12578,
    "h": 131.4
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#487116
secondary
#6C3CA7
accent
#3EEA8B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487116

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

Preview Lab → · Contrast checker → · Palette generator →

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