#487215#487215

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

Color values

HEX#487215
RGBrgb(72, 114, 21)
HSLhsl(87, 69%, 26%)
HSVhsv(87, 82%, 45%)
CMYKcmyk(36.8%, 0%, 81.6%, 55.3%)
CIE-LABlab(43.46, -29.87, 43.17)
CIE-LCHlch(43.46, 52.50, 124.68°)
OKLaboklab(50.25% -0.0847 0.0955)
OKLCHoklch(50.25% 0.128 131.6)
XYZxyz(8.8251, 13.4661, 2.8436)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487215 #3F1572
analogous
#726E15 #487215 #197215
triadic
#487215 #154872 #721548
tetradic
#487215 #15726E #3F1572 #721519
square
#487215 #15726E #3F1572 #721519
split-complementary
#487215 #151972 #6E1572
monochromatic
#101A05 #273E0B #487215 #69A61F #89D82A

Accessibility & contrast

On white

5.69
#487215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#487215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487215
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487215#FFFFFF#000000##FFFFFF
##4872151.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#496D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487215;
/* rgb */ color: rgb(72, 114, 21);
/* oklch */ color: oklch(50.3% 0.128 131.6);
Tailwind
colors: {
  custom: {
    50: '#7f9b5b',
    500: '#487215',
    950: '#000000',
  },
}
SCSS
$custom: #487215;
$custom-light: #7f9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#487215",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 87.097,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50254,
    "c": 0.12766,
    "h": 131.6
  },
  "luminance": 0.13466
}

Semantic roles & 50–950 ramp

primary
#487215
secondary
#6C3BA8
accent
#3CEC8B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487215

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

Preview Lab → · Contrast checker → · Palette generator →

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