#487E1A#487E1A

#487E1A is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.141 H 134.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#487E1A
RGBrgb(72, 126, 26)
HSLhsl(92, 66%, 30%)
HSVhsv(92, 79%, 49%)
CMYKcmyk(42.9%, 0%, 79.4%, 50.6%)
CIE-LABlab(47.46, -35.01, 45.26)
CIE-LCHlch(47.46, 57.22, 127.72°)
OKLaboklab(53.54% -0.0982 0.1007)
OKLCHoklch(53.54% 0.141 134.3)
XYZxyz(10.3196, 16.3735, 3.5937)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E1A #501A7E
analogous
#7A7E1A #487E1A #1A7E1E
triadic
#487E1A #1A487E #7E1A48
tetradic
#487E1A #1A7A7E #501A7E #7E1E1A
square
#487E1A #1A7A7E #501A7E #7E1E1A
split-complementary
#487E1A #1E1A7E #7E1A7A
monochromatic
#0E1905 #2B4B10 #487E1A #65B124 #83D73C

Accessibility & contrast

On white

4.91
#487E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#487E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E1A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E1A#FFFFFF#000000##FFFFFF
##487E1A1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#47796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e1a;
/* rgb */ color: rgb(72, 126, 26);
/* oklch */ color: oklch(53.5% 0.141 134.3);
Tailwind
colors: {
  custom: {
    50: '#80a45f',
    500: '#487e1a',
    950: '#000000',
  },
}
SCSS
$custom: #487e1a;
$custom-light: #80a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#487e1a",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 92.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.14066,
    "h": 134.3
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

primary
#487E1A
secondary
#7E42B2
accent
#3FE99B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #487E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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