#487C1F#487C1F

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

Color values

HEX#487C1F
RGBrgb(72, 124, 31)
HSLhsl(94, 60%, 30%)
HSVhsv(94, 75%, 49%)
CMYKcmyk(41.9%, 0%, 75%, 51.4%)
CIE-LABlab(46.83, -33.79, 42.80)
CIE-LCHlch(46.83, 54.53, 128.29°)
OKLaboklab(53.03% -0.0945 0.0964)
OKLCHoklch(53.03% 0.135 134.5)
XYZxyz(10.1273, 15.8914, 3.8298)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C1F #531F7C
analogous
#767C1F #487C1F #1F7C24
triadic
#487C1F #1F487C #7C1F48
tetradic
#487C1F #1F767C #531F7C #7C241F
square
#487C1F #1F767C #531F7C #7C241F
split-complementary
#487C1F #241F7C #7C1F76
monochromatic
#0F1A07 #2C4B13 #487C1F #64AD2B #82D045

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487C1F#FFFFFF#000000##FFFFFF
##487C1F1.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)
#81720E
Deuteranopia (green-blind)
#7A6D28
Tritanopia (blue-blind)
#47776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c1f;
/* rgb */ color: rgb(72, 124, 31);
/* oklch */ color: oklch(53.0% 0.135 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a261',
    500: '#487c1f',
    950: '#000000',
  },
}
SCSS
$custom: #487c1f;
$custom-light: #80a261;
$custom-dark: #000000;
JSON
{
  "hex": "#487c1f",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 93.548,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.13499,
    "h": 134.5
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#487C1F
secondary
#8248AF
accent
#45E39D
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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