#487515#487515

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

Color values

HEX#487515
RGBrgb(72, 117, 21)
HSLhsl(88, 70%, 27%)
HSVhsv(88, 82%, 46%)
CMYKcmyk(38.5%, 0%, 82.1%, 54.1%)
CIE-LABlab(44.45, -31.26, 44.10)
CIE-LCHlch(44.45, 54.06, 125.33°)
OKLaboklab(51.07% -0.0884 0.0975)
OKLCHoklch(51.07% 0.132 132.2)
XYZxyz(9.1690, 14.1540, 2.9582)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487515 #421575
analogous
#757215 #487515 #187515
triadic
#487515 #154875 #751548
tetradic
#487515 #157572 #421575 #751518
square
#487515 #157572 #421575 #751518
split-complementary
#487515 #151875 #721575
monochromatic
#101A05 #28410C #487515 #68A91E #88D92B

Accessibility & contrast

On white

5.48
#487515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#487515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487515
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487515#FFFFFF#000000##FFFFFF
##4875151.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#497063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #487515;
/* rgb */ color: rgb(72, 117, 21);
/* oklch */ color: oklch(51.1% 0.132 132.2);
Tailwind
colors: {
  custom: {
    50: '#7f9d5b',
    500: '#487515',
    950: '#000000',
  },
}
SCSS
$custom: #487515;
$custom-light: #7f9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#487515",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 88.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.13161,
    "h": 132.2
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#487515
secondary
#6F3BAB
accent
#3BEC8E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487515

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

Preview Lab → · Contrast checker → · Palette generator →

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