#487115#487115

#487115 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.126 H 131.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#487115
RGBrgb(72, 113, 21)
HSLhsl(87, 69%, 26%)
HSVhsv(87, 81%, 44%)
CMYKcmyk(36.3%, 0%, 81.4%, 55.7%)
CIE-LABlab(43.13, -29.40, 42.86)
CIE-LCHlch(43.13, 51.98, 124.45°)
OKLaboklab(49.98% -0.0834 0.0949)
OKLCHoklch(49.98% 0.126 131.3)
XYZxyz(8.7129, 13.2418, 2.8062)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487115 #3E1571
analogous
#716C15 #487115 #1A7115
triadic
#487115 #154871 #711548
tetradic
#487115 #15716C #3E1571 #71151A
square
#487115 #15716C #3E1571 #71151A
split-complementary
#487115 #151A71 #6C1571
monochromatic
#101A05 #273D0B #487115 #69A51F #8AD729

Accessibility & contrast

On white

5.76
#487115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#487115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487115
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487115#FFFFFF#000000##FFFFFF
##4871151.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#496C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #487115;
/* rgb */ color: rgb(72, 113, 21);
/* oklch */ color: oklch(50.0% 0.126 131.3);
Tailwind
colors: {
  custom: {
    50: '#7f9a5b',
    500: '#487115',
    950: '#000000',
  },
}
SCSS
$custom: #487115;
$custom-light: #7f9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#487115",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 86.739,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.12634,
    "h": 131.3
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#487115
secondary
#6B3BA7
accent
#3CEB8A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487115

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

Preview Lab → · Contrast checker → · Palette generator →

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