#487D2A#487D2A

#487D2A is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.128 H 136.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#487D2A
RGBrgb(72, 125, 42)
HSLhsl(98, 50%, 33%)
HSVhsv(98, 66%, 49%)
CMYKcmyk(42.4%, 0%, 66.4%, 51%)
CIE-LABlab(47.25, -33.30, 38.55)
CIE-LCHlch(47.25, 50.94, 130.82°)
OKLaboklab(53.4% -0.0924 0.089)
OKLCHoklch(53.4% 0.128 136.1)
XYZxyz(10.4238, 16.2116, 4.7699)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D2A #5F2A7D
analogous
#727D2A #487D2A #2A7D35
triadic
#487D2A #2A487D #7D2A48
tetradic
#487D2A #2A727D #5F2A7D #7D352A
square
#487D2A #2A727D #5F2A7D #7D352A
split-complementary
#487D2A #352A7D #7D2A72
monochromatic
#13210B #2E4F1B #487D2A #62AB39 #82C85A

Accessibility & contrast

On white

4.95
#487D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#487D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D2A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D2A#FFFFFF#000000##FFFFFF
##487D2A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#46786C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d2a;
/* rgb */ color: rgb(72, 125, 42);
/* oklch */ color: oklch(53.4% 0.128 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa368',
    500: '#487d2a',
    950: '#000000',
  },
}
SCSS
$custom: #487d2a;
$custom-light: #7fa368;
$custom-dark: #000000;
JSON
{
  "hex": "#487d2a",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 98.313,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53404,
    "c": 0.12824,
    "h": 136.1
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#487D2A
secondary
#8E56AD
accent
#4FD9A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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