#487316#487316

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

Color values

HEX#487316
RGBrgb(72, 115, 22)
HSLhsl(88, 68%, 27%)
HSVhsv(88, 81%, 45%)
CMYKcmyk(37.4%, 0%, 80.9%, 54.9%)
CIE-LABlab(43.79, -30.28, 43.15)
CIE-LCHlch(43.79, 52.72, 125.06°)
OKLaboklab(50.53% -0.0857 0.0956)
OKLCHoklch(50.53% 0.128 131.9)
XYZxyz(8.9479, 13.6967, 2.9312)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487316 #411673
analogous
#737016 #487316 #1A7316
triadic
#487316 #164873 #731648
tetradic
#487316 #167370 #411673 #73161A
square
#487316 #167370 #411673 #73161A
split-complementary
#487316 #161A73 #701673
monochromatic
#101A05 #28400C #487316 #68A620 #88D72D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487316#FFFFFF#000000##FFFFFF
##4873161.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)
#726620
Tritanopia (blue-blind)
#496E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487316;
/* rgb */ color: rgb(72, 115, 22);
/* oklch */ color: oklch(50.5% 0.128 131.9);
Tailwind
colors: {
  custom: {
    50: '#7f9b5c',
    500: '#487316',
    950: '#000000',
  },
}
SCSS
$custom: #487316;
$custom-light: #7f9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#487316",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 87.742,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.12844,
    "h": 131.9
  },
  "luminance": 0.13697
}

Semantic roles & 50–950 ramp

primary
#487316
secondary
#6E3CA9
accent
#3DEB8D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487316

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

Preview Lab → · Contrast checker → · Palette generator →

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