#487311#487311

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

Color values

HEX#487311
RGBrgb(72, 115, 17)
HSLhsl(86, 74%, 26%)
HSVhsv(86, 85%, 45%)
CMYKcmyk(37.4%, 0%, 85.2%, 54.9%)
CIE-LABlab(43.77, -30.54, 44.72)
CIE-LCHlch(43.77, 54.15, 124.33°)
OKLaboklab(50.5% -0.0868 0.0981)
OKLCHoklch(50.5% 0.131 131.5)
XYZxyz(8.9043, 13.6793, 2.7014)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487311 #3C1173
analogous
#736D11 #487311 #177311
triadic
#487311 #114873 #731148
tetradic
#487311 #11736D #3C1173 #731117
square
#487311 #11736D #3C1173 #731117
split-complementary
#487311 #111773 #6D1173
monochromatic
#111B04 #273E09 #487311 #69A819 #8BDE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487311#FFFFFF#000000##FFFFFF
##4873111.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)
#73661D
Tritanopia (blue-blind)
#496E61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487311;
/* rgb */ color: rgb(72, 115, 17);
/* oklch */ color: oklch(50.5% 0.131 131.5);
Tailwind
colors: {
  custom: {
    50: '#7f9b5a',
    500: '#487311',
    950: '#000000',
  },
}
SCSS
$custom: #487311;
$custom-light: #7f9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#487311",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 86.327,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50502,
    "c": 0.13097,
    "h": 131.5
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

primary
#487311
secondary
#6936AA
accent
#37F189
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487311

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

Preview Lab → · Contrast checker → · Palette generator →

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