#487220#487220

#487220 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.3% C 0.121 H 132.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#487220
RGBrgb(72, 114, 32)
HSLhsl(91, 56%, 29%)
HSVhsv(91, 72%, 45%)
CMYKcmyk(36.8%, 0%, 71.9%, 55.3%)
CIE-LABlab(43.53, -29.12, 39.03)
CIE-LCHlch(43.53, 48.70, 126.73°)
OKLaboklab(50.34% -0.0818 0.0886)
OKLCHoklch(50.34% 0.121 132.7)
XYZxyz(8.9504, 13.5163, 3.5035)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487220 #4A2072
analogous
#717220 #487220 #207221
triadic
#487220 #204872 #722048
tetradic
#487220 #207172 #4A2072 #722120
square
#487220 #207172 #4A2072 #722120
split-complementary
#487220 #212072 #722071
monochromatic
#0F1807 #2A4213 #487220 #66A22D #85CA42

Accessibility & contrast

On white

5.67
#487220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#487220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487220
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487220#FFFFFF#000000##FFFFFF
##4872201.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776914
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#496D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487220;
/* rgb */ color: rgb(72, 114, 32);
/* oklch */ color: oklch(50.3% 0.121 132.7);
Tailwind
colors: {
  custom: {
    50: '#7f9b61',
    500: '#487220',
    950: '#000000',
  },
}
SCSS
$custom: #487220;
$custom-light: #7f9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#487220",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 90.732,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.12058,
    "h": 132.7
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#487220
secondary
#7848A6
accent
#48DF96
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487220

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

Preview Lab → · Contrast checker → · Palette generator →

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