#487420#487420

#487420 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.9% C 0.123 H 133.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#487420
RGBrgb(72, 116, 32)
HSLhsl(91, 57%, 29%)
HSVhsv(91, 72%, 45%)
CMYKcmyk(37.9%, 0%, 72.4%, 54.5%)
CIE-LABlab(44.19, -30.06, 39.71)
CIE-LCHlch(44.19, 49.81, 127.13°)
OKLaboklab(50.88% -0.0843 0.09)
OKLCHoklch(50.88% 0.123 133.1)
XYZxyz(9.1784, 13.9724, 3.5796)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487420 #4C2074
analogous
#727420 #487420 #207422
triadic
#487420 #204874 #742048
tetradic
#487420 #207274 #4C2074 #742220
square
#487420 #207274 #4C2074 #742220
split-complementary
#487420 #222074 #742072
monochromatic
#0F1807 #2A4413 #487420 #66A42D #84CB43

Accessibility & contrast

On white

5.53
#487420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#487420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487420
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487420#FFFFFF#000000##FFFFFF
##4874201.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#486F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #487420;
/* rgb */ color: rgb(72, 116, 32);
/* oklch */ color: oklch(50.9% 0.123 133.1);
Tailwind
colors: {
  custom: {
    50: '#7f9c61',
    500: '#487420',
    950: '#000000',
  },
}
SCSS
$custom: #487420;
$custom-light: #7f9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#487420",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 91.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50878,
    "c": 0.12337,
    "h": 133.1
  },
  "luminance": 0.13973
}

Semantic roles & 50–950 ramp

primary
#487420
secondary
#7A48A8
accent
#48E098
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487420

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

Preview Lab → · Contrast checker → · Palette generator →

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