#487D1B#487D1B

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

Color values

HEX#487D1B
RGBrgb(72, 125, 27)
HSLhsl(92, 64%, 30%)
HSVhsv(92, 78%, 49%)
CMYKcmyk(42.4%, 0%, 78.4%, 51%)
CIE-LABlab(47.14, -34.50, 44.60)
CIE-LCHlch(47.14, 56.39, 127.73°)
OKLaboklab(53.27% -0.0968 0.0995)
OKLCHoklch(53.27% 0.139 134.2)
XYZxyz(10.2037, 16.1235, 3.6112)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D1B #501B7D
analogous
#797D1B #487D1B #1B7D1F
triadic
#487D1B #1B487D #7D1B48
tetradic
#487D1B #1B797D #501B7D #7D1F1B
square
#487D1B #1B797D #501B7D #7D1F1B
split-complementary
#487D1B #1F1B7D #7D1B79
monochromatic
#0E1905 #2B4B10 #487D1B #65AF26 #83D53D

Accessibility & contrast

On white

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

On black

4.22
#487D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##487D1B#FFFFFF#000000##FFFFFF
##487D1B1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827205
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#47786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d1b;
/* rgb */ color: rgb(72, 125, 27);
/* oklch */ color: oklch(53.3% 0.139 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a35f',
    500: '#487d1b',
    950: '#000000',
  },
}
SCSS
$custom: #487d1b;
$custom-light: #80a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#487d1b",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 92.449,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53273,
    "c": 0.13878,
    "h": 134.2
  },
  "luminance": 0.16124
}

Semantic roles & 50–950 ramp

primary
#487D1B
secondary
#7E43B1
accent
#40E79B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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