#487D1A#487D1A

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

Color values

HEX#487D1A
RGBrgb(72, 125, 26)
HSLhsl(92, 66%, 30%)
HSVhsv(92, 79%, 49%)
CMYKcmyk(42.4%, 0%, 79.2%, 51%)
CIE-LABlab(47.13, -34.57, 44.94)
CIE-LCHlch(47.13, 56.70, 127.56°)
OKLaboklab(53.27% -0.097 0.1001)
OKLCHoklch(53.27% 0.139 134.1)
XYZxyz(10.1924, 16.1190, 3.5513)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D1A #4F1A7D
analogous
#7A7D1A #487D1A #1A7D1D
triadic
#487D1A #1A487D #7D1A48
tetradic
#487D1A #1A7A7D #4F1A7D #7D1D1A
square
#487D1A #1A7A7D #4F1A7D #7D1D1A
split-complementary
#487D1A #1D1A7D #7D1A7A
monochromatic
#0F1905 #2B4A0F #487D1A #65B025 #83D63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487D1A#FFFFFF#000000##FFFFFF
##487D1A1.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)
#827202
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#47786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d1a;
/* rgb */ color: rgb(72, 125, 26);
/* oklch */ color: oklch(53.3% 0.139 134.1);
Tailwind
colors: {
  custom: {
    50: '#80a35f',
    500: '#487d1a',
    950: '#000000',
  },
}
SCSS
$custom: #487d1a;
$custom-light: #80a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#487d1a",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 92.121,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53267,
    "c": 0.13936,
    "h": 134.1
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#487D1A
secondary
#7D42B1
accent
#3FE99A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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