#487A2A#487A2A

#487A2A is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.6% C 0.124 H 135.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#487A2A
RGBrgb(72, 122, 42)
HSLhsl(98, 49%, 32%)
HSVhsv(98, 66%, 48%)
CMYKcmyk(41%, 0%, 65.6%, 52.2%)
CIE-LABlab(46.26, -31.94, 37.46)
CIE-LCHlch(46.26, 49.23, 130.45°)
OKLaboklab(52.6% -0.0886 0.0867)
OKLCHoklch(52.6% 0.124 135.6)
XYZxyz(10.0497, 15.4634, 4.6453)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A2A #5C2A7A
analogous
#707A2A #487A2A #2A7A34
triadic
#487A2A #2A487A #7A2A48
tetradic
#487A2A #2A707A #5C2A7A #7A342A
square
#487A2A #2A707A #5C2A7A #7A342A
split-complementary
#487A2A #342A7A #7A2A70
monochromatic
#121F0B #2D4C1A #487A2A #63A83A #82C659

Accessibility & contrast

On white

5.13
#487A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#487A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A2A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A2A#FFFFFF#000000##FFFFFF
##487A2A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#477569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487a2a;
/* rgb */ color: rgb(72, 122, 42);
/* oklch */ color: oklch(52.6% 0.124 135.6);
Tailwind
colors: {
  custom: {
    50: '#7fa167',
    500: '#487a2a',
    950: '#000000',
  },
}
SCSS
$custom: #487a2a;
$custom-light: #7fa167;
$custom-dark: #000000;
JSON
{
  "hex": "#487a2a",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 97.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.12396,
    "h": 135.6
  },
  "luminance": 0.15464
}

Semantic roles & 50–950 ramp

primary
#487A2A
secondary
#8B55AB
accent
#4FD8A5
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #487A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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