#487C1A#487C1A

#487C1A is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.138 H 134.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#487C1A
RGBrgb(72, 124, 26)
HSLhsl(92, 65%, 29%)
HSVhsv(92, 79%, 49%)
CMYKcmyk(41.9%, 0%, 79%, 51.4%)
CIE-LABlab(46.80, -34.12, 44.63)
CIE-LCHlch(46.80, 56.18, 127.40°)
OKLaboklab(53% -0.0958 0.0994)
OKLCHoklch(53% 0.138 134)
XYZxyz(10.0664, 15.8671, 3.5093)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C1A #4E1A7C
analogous
#797C1A #487C1A #1A7C1D
triadic
#487C1A #1A487C #7C1A48
tetradic
#487C1A #1A797C #4E1A7C #7C1D1A
square
#487C1A #1A797C #4E1A7C #7C1D1A
split-complementary
#487C1A #1D1A7C #7C1A79
monochromatic
#0F1905 #2B490F #487C1A #65AF25 #83D63B

Accessibility & contrast

On white

5.03
#487C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#487C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487C1A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487C1A#FFFFFF#000000##FFFFFF
##487C1A1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#48776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c1a;
/* rgb */ color: rgb(72, 124, 26);
/* oklch */ color: oklch(53.0% 0.138 134.0);
Tailwind
colors: {
  custom: {
    50: '#80a25f',
    500: '#487c1a',
    950: '#000000',
  },
}
SCSS
$custom: #487c1a;
$custom-light: #80a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#487c1a",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 91.837,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52996,
    "c": 0.13805,
    "h": 134
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#487C1A
secondary
#7C42B0
accent
#40E899
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487C1A

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

Preview Lab → · Contrast checker → · Palette generator →

#487C1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva