#487B1D#487B1D

#487B1D is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.135 H 134.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#487B1D
RGBrgb(72, 123, 29)
HSLhsl(93, 62%, 30%)
HSVhsv(93, 76%, 48%)
CMYKcmyk(41.5%, 0%, 76.4%, 51.8%)
CIE-LABlab(46.49, -33.48, 43.23)
CIE-LCHlch(46.49, 54.68, 127.76°)
OKLaboklab(52.75% -0.0939 0.0969)
OKLCHoklch(52.75% 0.135 134.1)
XYZxyz(9.9770, 15.6318, 3.6537)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B1D #501D7B
analogous
#777B1D #487B1D #1D7B21
triadic
#487B1D #1D487B #7B1D48
tetradic
#487B1D #1D777B #501D7B #7B211D
square
#487B1D #1D777B #501D7B #7B211D
split-complementary
#487B1D #211D7B #7B1D77
monochromatic
#0E1906 #2B4911 #487B1D #65AD29 #83D240

Accessibility & contrast

On white

5.09
#487B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#487B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B1D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B1D#FFFFFF#000000##FFFFFF
##487B1D1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#487669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b1d;
/* rgb */ color: rgb(72, 123, 29);
/* oklch */ color: oklch(52.7% 0.135 134.1);
Tailwind
colors: {
  custom: {
    50: '#80a160',
    500: '#487b1d',
    950: '#000000',
  },
}
SCSS
$custom: #487b1d;
$custom-light: #80a160;
$custom-dark: #000000;
JSON
{
  "hex": "#487b1d",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 92.553,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.13493,
    "h": 134.1
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#487B1D
secondary
#7E45AF
accent
#43E59B
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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