#487D1F#487D1F

#487D1F is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.136 H 134.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#487D1F
RGBrgb(72, 125, 31)
HSLhsl(94, 60%, 31%)
HSVhsv(94, 75%, 49%)
CMYKcmyk(42.4%, 0%, 75.2%, 51%)
CIE-LABlab(47.16, -34.23, 43.13)
CIE-LCHlch(47.16, 55.06, 128.44°)
OKLaboklab(53.3% -0.0957 0.097)
OKLCHoklch(53.3% 0.136 134.6)
XYZxyz(10.2532, 16.1433, 3.8718)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D1F #541F7D
analogous
#777D1F #487D1F #1F7D25
triadic
#487D1F #1F487D #7D1F48
tetradic
#487D1F #1F777D #541F7D #7D251F
square
#487D1F #1F777D #541F7D #7D251F
split-complementary
#487D1F #251F7D #7D1F77
monochromatic
#101B07 #2C4C13 #487D1F #64AE2B #82D145

Accessibility & contrast

On white

4.97
#487D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#487D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D1F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D1F#FFFFFF#000000##FFFFFF
##487D1F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730E
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#47786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d1f;
/* rgb */ color: rgb(72, 125, 31);
/* oklch */ color: oklch(53.3% 0.136 134.6);
Tailwind
colors: {
  custom: {
    50: '#80a361',
    500: '#487d1f',
    950: '#000000',
  },
}
SCSS
$custom: #487d1f;
$custom-light: #80a361;
$custom-dark: #000000;
JSON
{
  "hex": "#487d1f",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 93.83,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.13632,
    "h": 134.6
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#487D1F
secondary
#8348B0
accent
#44E39E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #487D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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