#487418#487418

#487418 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.129 H 132.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#487418
RGBrgb(72, 116, 24)
HSLhsl(89, 66%, 27%)
HSVhsv(89, 79%, 45%)
CMYKcmyk(37.9%, 0%, 79.3%, 54.5%)
CIE-LABlab(44.14, -30.62, 42.78)
CIE-LCHlch(44.14, 52.61, 125.60°)
OKLaboklab(50.82% -0.0865 0.0952)
OKLCHoklch(50.82% 0.129 132.3)
XYZxyz(9.0826, 13.9341, 3.0750)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487418 #441874
analogous
#747218 #487418 #1A7418
triadic
#487418 #184874 #741848
tetradic
#487418 #187472 #441874 #74181A
square
#487418 #187472 #441874 #74181A
split-complementary
#487418 #181A74 #721874
monochromatic
#101905 #29410E #487418 #67A722 #87D532

Accessibility & contrast

On white

5.55
#487418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#487418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487418
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487418#FFFFFF#000000##FFFFFF
##4874181.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#496F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #487418;
/* rgb */ color: rgb(72, 116, 24);
/* oklch */ color: oklch(50.8% 0.129 132.3);
Tailwind
colors: {
  custom: {
    50: '#7f9c5d',
    500: '#487418',
    950: '#000000',
  },
}
SCSS
$custom: #487418;
$custom-light: #7f9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#487418",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 88.696,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.12863,
    "h": 132.3
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

primary
#487418
secondary
#723FA9
accent
#3FE990
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487418

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

Preview Lab → · Contrast checker → · Palette generator →

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