#487313#487313

#487313 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.130 H 131.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#487313
RGBrgb(72, 115, 19)
HSLhsl(87, 72%, 26%)
HSVhsv(87, 83%, 45%)
CMYKcmyk(37.4%, 0%, 83.5%, 54.9%)
CIE-LABlab(43.78, -30.44, 44.12)
CIE-LCHlch(43.78, 53.60, 124.60°)
OKLaboklab(50.51% -0.0864 0.0972)
OKLCHoklch(50.51% 0.13 131.6)
XYZxyz(8.9207, 13.6858, 2.7876)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487313 #3E1373
analogous
#736E13 #487313 #187313
triadic
#487313 #134873 #731348
tetradic
#487313 #13736E #3E1373 #731318
square
#487313 #13736E #3E1373 #731318
split-complementary
#487313 #131873 #6E1373
monochromatic
#101A04 #273E0A #487313 #69A81C #8ADB25

Accessibility & contrast

On white

5.62
#487313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#487313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487313
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487313#FFFFFF#000000##FFFFFF
##4873131.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#73661E
Tritanopia (blue-blind)
#496E61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487313;
/* rgb */ color: rgb(72, 115, 19);
/* oklch */ color: oklch(50.5% 0.130 131.6);
Tailwind
colors: {
  custom: {
    50: '#7f9b5a',
    500: '#487313',
    950: '#000000',
  },
}
SCSS
$custom: #487313;
$custom-light: #7f9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#487313",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 86.875,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.13002,
    "h": 131.6
  },
  "luminance": 0.13686
}

Semantic roles & 50–950 ramp

primary
#487313
secondary
#6B38AA
accent
#39EE8A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487313

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

Preview Lab → · Contrast checker → · Palette generator →

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