#487318#487318

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

Color values

HEX#487318
RGBrgb(72, 115, 24)
HSLhsl(88, 65%, 27%)
HSVhsv(88, 79%, 45%)
CMYKcmyk(37.4%, 0%, 79.1%, 54.9%)
CIE-LABlab(43.81, -30.16, 42.46)
CIE-LCHlch(43.81, 52.08, 125.39°)
OKLaboklab(50.54% -0.0853 0.0945)
OKLCHoklch(50.54% 0.127 132.1)
XYZxyz(8.9680, 13.7048, 3.0367)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487318 #431873
analogous
#737118 #487318 #1A7318
triadic
#487318 #184873 #731848
tetradic
#487318 #187371 #431873 #73181A
square
#487318 #187371 #431873 #73181A
split-complementary
#487318 #181A73 #711873
monochromatic
#101905 #28400D #487318 #68A623 #87D431

Accessibility & contrast

On white

5.61
#487318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487318
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487318#FFFFFF#000000##FFFFFF
##4873181.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A04
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#496E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #487318;
/* rgb */ color: rgb(72, 115, 24);
/* oklch */ color: oklch(50.5% 0.127 132.1);
Tailwind
colors: {
  custom: {
    50: '#7f9b5d',
    500: '#487318',
    950: '#000000',
  },
}
SCSS
$custom: #487318;
$custom-light: #7f9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#487318",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 88.352,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50544,
    "c": 0.12729,
    "h": 132.1
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#487318
secondary
#703FA8
accent
#3FE88F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487318

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

Preview Lab → · Contrast checker → · Palette generator →

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