#487120#487120

#487120 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.119 H 132.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#487120
RGBrgb(72, 113, 32)
HSLhsl(90, 56%, 28%)
HSVhsv(90, 72%, 44%)
CMYKcmyk(36.3%, 0%, 71.7%, 55.7%)
CIE-LABlab(43.20, -28.65, 38.68)
CIE-LCHlch(43.20, 48.14, 126.52°)
OKLaboklab(50.07% -0.0805 0.0879)
OKLCHoklch(50.07% 0.119 132.5)
XYZxyz(8.8382, 13.2919, 3.4661)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487120 #492071
analogous
#707120 #487120 #207120
triadic
#487120 #204871 #712048
tetradic
#487120 #207071 #492071 #712020
square
#487120 #207071 #492071 #712020
split-complementary
#487120 #202071 #712070
monochromatic
#0F1807 #2A4112 #487120 #66A12E #85C942

Accessibility & contrast

On white

5.74
#487120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#487120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487120
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487120#FFFFFF#000000##FFFFFF
##4871201.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766814
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#496C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487120;
/* rgb */ color: rgb(72, 113, 32);
/* oklch */ color: oklch(50.1% 0.119 132.5);
Tailwind
colors: {
  custom: {
    50: '#7e9a60',
    500: '#487120',
    950: '#000000',
  },
}
SCSS
$custom: #487120;
$custom-light: #7e9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#487120",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 90.37,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.11918,
    "h": 132.5
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#487120
secondary
#7748A5
accent
#49DF95
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487120

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

Preview Lab → · Contrast checker → · Palette generator →

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