#487C1E#487C1E

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

Color values

HEX#487C1E
RGBrgb(72, 124, 30)
HSLhsl(93, 61%, 30%)
HSVhsv(93, 76%, 49%)
CMYKcmyk(41.9%, 0%, 75.8%, 51.4%)
CIE-LABlab(46.82, -33.86, 43.18)
CIE-LCHlch(46.82, 54.87, 128.10°)
OKLaboklab(53.03% -0.0948 0.097)
OKLCHoklch(53.03% 0.136 134.3)
XYZxyz(10.1143, 15.8862, 3.7615)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C1E #521E7C
analogous
#777C1E #487C1E #1E7C23
triadic
#487C1E #1E487C #7C1E48
tetradic
#487C1E #1E777C #521E7C #7C231E
square
#487C1E #1E777C #521E7C #7C231E
split-complementary
#487C1E #231E7C #7C1E77
monochromatic
#0F1906 #2B4B12 #487C1E #65AD2A #83D143

Accessibility & contrast

On white

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

On black

4.18
#487C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487C1E#FFFFFF#000000##FFFFFF
##487C1E1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#47776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c1e;
/* rgb */ color: rgb(72, 124, 30);
/* oklch */ color: oklch(53.0% 0.136 134.3);
Tailwind
colors: {
  custom: {
    50: '#80a261',
    500: '#487c1e',
    950: '#000000',
  },
}
SCSS
$custom: #487c1e;
$custom-light: #80a261;
$custom-dark: #000000;
JSON
{
  "hex": "#487c1e",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 93.191,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.13563,
    "h": 134.3
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#487C1E
secondary
#8046AF
accent
#44E49C
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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