#487020#487020

#487020 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.8% C 0.118 H 132.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#487020
RGBrgb(72, 112, 32)
HSLhsl(90, 56%, 28%)
HSVhsv(90, 71%, 44%)
CMYKcmyk(35.7%, 0%, 71.4%, 56.1%)
CIE-LABlab(42.87, -28.17, 38.34)
CIE-LCHlch(42.87, 47.58, 126.31°)
OKLaboklab(49.8% -0.0792 0.0872)
OKLCHoklch(49.8% 0.118 132.3)
XYZxyz(8.7273, 13.0700, 3.4292)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487020 #482070
analogous
#707020 #487020 #207020
triadic
#487020 #204870 #702048
tetradic
#487020 #207070 #482070 #702020
square
#487020 #207070 #482070 #702020
split-complementary
#487020 #202070 #702070
monochromatic
#0F1807 #294012 #487020 #67A02E #85C942

Accessibility & contrast

On white

5.81
#487020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#487020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487020
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487020#FFFFFF#000000##FFFFFF
##4870201.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756714
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#496B60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #487020;
/* rgb */ color: rgb(72, 112, 32);
/* oklch */ color: oklch(49.8% 0.118 132.3);
Tailwind
colors: {
  custom: {
    50: '#7e9960',
    500: '#487020',
    950: '#000000',
  },
}
SCSS
$custom: #487020;
$custom-light: #7e9960;
$custom-dark: #000000;
JSON
{
  "hex": "#487020",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 90,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49797,
    "c": 0.11776,
    "h": 132.3
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#487020
secondary
#7648A4
accent
#49DF94
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487020

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

Preview Lab → · Contrast checker → · Palette generator →

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