#487A1A#487A1A

#487A1A is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.135 H 133.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#487A1A
RGBrgb(72, 122, 26)
HSLhsl(91, 65%, 29%)
HSVhsv(91, 79%, 48%)
CMYKcmyk(41%, 0%, 78.7%, 52.2%)
CIE-LABlab(46.14, -33.23, 43.99)
CIE-LCHlch(46.14, 55.13, 127.07°)
OKLaboklab(52.45% -0.0934 0.0981)
OKLCHoklch(52.45% 0.135 133.6)
XYZxyz(9.8183, 15.3709, 3.4266)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A1A #4C1A7A
analogous
#787A1A #487A1A #1A7A1C
triadic
#487A1A #1A487A #7A1A48
tetradic
#487A1A #1A787A #4C1A7A #7A1C1A
square
#487A1A #1A787A #4C1A7A #7A1C1A
split-complementary
#487A1A #1C1A7A #7A1A78
monochromatic
#0F1905 #2A480F #487A1A #66AC25 #84D539

Accessibility & contrast

On white

5.15
#487A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#487A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A1A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A1A#FFFFFF#000000##FFFFFF
##487A1A1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a1a;
/* rgb */ color: rgb(72, 122, 26);
/* oklch */ color: oklch(52.5% 0.135 133.6);
Tailwind
colors: {
  custom: {
    50: '#80a15f',
    500: '#487a1a',
    950: '#000000',
  },
}
SCSS
$custom: #487a1a;
$custom-light: #80a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#487a1a",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 91.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.13542,
    "h": 133.6
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#487A1A
secondary
#7A41AE
accent
#40E897
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #487A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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