#487720#487720

#487720 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.7% C 0.128 H 133.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#487720
RGBrgb(72, 119, 32)
HSLhsl(92, 58%, 30%)
HSVhsv(92, 73%, 47%)
CMYKcmyk(39.5%, 0%, 73.1%, 53.3%)
CIE-LABlab(45.19, -31.45, 40.73)
CIE-LCHlch(45.19, 51.46, 127.67°)
OKLaboklab(51.69% -0.0881 0.0922)
OKLCHoklch(51.69% 0.128 133.7)
XYZxyz(9.5299, 14.6752, 3.6967)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487720 #4F2077
analogous
#747720 #487720 #207724
triadic
#487720 #204877 #772048
tetradic
#487720 #207477 #4F2077 #772420
square
#487720 #207477 #4F2077 #772420
split-complementary
#487720 #242077 #772074
monochromatic
#0F1806 #2B4713 #487720 #65A72D #83CD45

Accessibility & contrast

On white

5.34
#487720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#487720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487720
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487720#FFFFFF#000000##FFFFFF
##4877201.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D12
Deuteranopia (green-blind)
#756A28
Tritanopia (blue-blind)
#487266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #487720;
/* rgb */ color: rgb(72, 119, 32);
/* oklch */ color: oklch(51.7% 0.128 133.7);
Tailwind
colors: {
  custom: {
    50: '#7f9e61',
    500: '#487720',
    950: '#000000',
  },
}
SCSS
$custom: #487720;
$custom-light: #7f9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#487720",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 92.414,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.12752,
    "h": 133.7
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#487720
secondary
#7D48AA
accent
#47E19A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #487720

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

Preview Lab → · Contrast checker → · Palette generator →

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