#487520#487520

#487520 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.1% C 0.125 H 133.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#487520
RGBrgb(72, 117, 32)
HSLhsl(92, 57%, 29%)
HSVhsv(92, 73%, 46%)
CMYKcmyk(38.5%, 0%, 72.6%, 54.1%)
CIE-LABlab(44.52, -30.53, 40.05)
CIE-LCHlch(44.52, 50.36, 127.31°)
OKLaboklab(51.15% -0.0856 0.0908)
OKLCHoklch(51.15% 0.125 133.3)
XYZxyz(9.2943, 14.2042, 3.6182)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487520 #4D2075
analogous
#737520 #487520 #207523
triadic
#487520 #204875 #752048
tetradic
#487520 #207375 #4D2075 #752320
square
#487520 #207375 #4D2075 #752320
split-complementary
#487520 #232075 #752073
monochromatic
#0F1807 #2A4513 #487520 #66A52D #84CC44

Accessibility & contrast

On white

5.47
#487520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#487520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487520
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487520#FFFFFF#000000##FFFFFF
##4875201.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C13
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#487064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #487520;
/* rgb */ color: rgb(72, 117, 32);
/* oklch */ color: oklch(51.1% 0.125 133.3);
Tailwind
colors: {
  custom: {
    50: '#7f9d61',
    500: '#487520',
    950: '#000000',
  },
}
SCSS
$custom: #487520;
$custom-light: #7f9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#487520",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 91.765,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.12476,
    "h": 133.3
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#487520
secondary
#7B48A8
accent
#47E098
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487520

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

Preview Lab → · Contrast checker → · Palette generator →

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