#487B2A#487B2A

#487B2A is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.125 H 135.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#487B2A
RGBrgb(72, 123, 42)
HSLhsl(98, 49%, 32%)
HSVhsv(98, 66%, 48%)
CMYKcmyk(41.5%, 0%, 65.9%, 51.8%)
CIE-LABlab(46.59, -32.40, 37.83)
CIE-LCHlch(46.59, 49.80, 130.58°)
OKLaboklab(52.86% -0.0899 0.0874)
OKLCHoklch(52.86% 0.125 135.8)
XYZxyz(10.1731, 15.7103, 4.6864)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B2A #5D2A7B
analogous
#707B2A #487B2A #2A7B35
triadic
#487B2A #2A487B #7B2A48
tetradic
#487B2A #2A707B #5D2A7B #7B352A
square
#487B2A #2A707B #5D2A7B #7B352A
split-complementary
#487B2A #352A7B #7B2A70
monochromatic
#13200B #2D4D1A #487B2A #63A93A #82C659

Accessibility & contrast

On white

5.07
#487B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#487B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B2A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B2A#FFFFFF#000000##FFFFFF
##487B2A1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#46766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b2a;
/* rgb */ color: rgb(72, 123, 42);
/* oklch */ color: oklch(52.9% 0.125 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa167',
    500: '#487b2a',
    950: '#000000',
  },
}
SCSS
$custom: #487b2a;
$custom-light: #7fa167;
$custom-dark: #000000;
JSON
{
  "hex": "#487b2a",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 97.778,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.1254,
    "h": 135.8
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#487B2A
secondary
#8C55AC
accent
#4FD9A6
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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