#487C1B#487C1B

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

Color values

HEX#487C1B
RGBrgb(72, 124, 27)
HSLhsl(92, 64%, 30%)
HSVhsv(92, 78%, 49%)
CMYKcmyk(41.9%, 0%, 78.2%, 51.4%)
CIE-LABlab(46.81, -34.06, 44.28)
CIE-LCHlch(46.81, 55.86, 127.57°)
OKLaboklab(53% -0.0956 0.0988)
OKLCHoklch(53% 0.137 134)
XYZxyz(10.0778, 15.8716, 3.5692)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487C1B #4F1B7C
analogous
#797C1B #487C1B #1B7C1F
triadic
#487C1B #1B487C #7C1B48
tetradic
#487C1B #1B797C #4F1B7C #7C1F1B
square
#487C1B #1B797C #4F1B7C #7C1F1B
split-complementary
#487C1B #1F1B7C #7C1B79
monochromatic
#0F1905 #2B4A10 #487C1B #65AE26 #83D53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487C1B#FFFFFF#000000##FFFFFF
##487C1B1.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)
#817205
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#48776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487c1b;
/* rgb */ color: rgb(72, 124, 27);
/* oklch */ color: oklch(53.0% 0.137 134.0);
Tailwind
colors: {
  custom: {
    50: '#80a25f',
    500: '#487c1b',
    950: '#000000',
  },
}
SCSS
$custom: #487c1b;
$custom-light: #80a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#487c1b",
  "rgb": {
    "r": 72,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 92.165,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53003,
    "c": 0.13747,
    "h": 134
  },
  "luminance": 0.15872
}

Semantic roles & 50–950 ramp

primary
#487C1B
secondary
#7D43B0
accent
#41E79A
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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