#487412#487412

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

Color values

HEX#487412
RGBrgb(72, 116, 18)
HSLhsl(87, 73%, 26%)
HSVhsv(87, 84%, 45%)
CMYKcmyk(37.9%, 0%, 84.5%, 54.5%)
CIE-LABlab(44.11, -30.95, 44.73)
CIE-LCHlch(44.11, 54.39, 124.69°)
OKLaboklab(50.78% -0.0878 0.0983)
OKLCHoklch(50.78% 0.132 131.8)
XYZxyz(9.0270, 13.9118, 2.7818)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487412 #3E1274
analogous
#746F12 #487412 #177412
triadic
#487412 #124874 #741248
tetradic
#487412 #12746F #3E1274 #741217
square
#487412 #12746F #3E1274 #741217
split-complementary
#487412 #121774 #6F1274
monochromatic
#101A04 #273F0A #487412 #69A91A #8ADD23

Accessibility & contrast

On white

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

On black

3.78
#487412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487412#FFFFFF#000000##FFFFFF
##4874121.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#496F62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #487412;
/* rgb */ color: rgb(72, 116, 18);
/* oklch */ color: oklch(50.8% 0.132 131.8);
Tailwind
colors: {
  custom: {
    50: '#7f9c5a',
    500: '#487412',
    950: '#000000',
  },
}
SCSS
$custom: #487412;
$custom-light: #7f9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#487412",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 86.939,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.13181,
    "h": 131.8
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#487412
secondary
#6B37AB
accent
#38F08B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487412

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

Preview Lab → · Contrast checker → · Palette generator →

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