#487A5F#487A5F

#487A5F is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.6% C 0.069 H 159.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#487A5F
RGBrgb(72, 122, 95)
HSLhsl(148, 26%, 38%)
HSVhsv(148, 41%, 48%)
CMYKcmyk(41%, 0%, 22.1%, 52.2%)
CIE-LABlab(47.13, -23.43, 9.57)
CIE-LCHlch(47.13, 25.31, 157.78°)
OKLaboklab(53.59% -0.0649 0.0246)
OKLCHoklch(53.59% 0.069 159.3)
XYZxyz(11.6968, 16.1223, 13.3198)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A5F #7A4863
analogous
#4A7A48 #487A5F #487A78
triadic
#487A5F #5F487A #7A5F48
tetradic
#487A5F #484A7A #7A4863 #7A7848
square
#487A5F #484A7A #7A4863 #7A7848
split-complementary
#487A5F #78487A #7A484A
monochromatic
#1B2D23 #315441 #487A5F #5FA07D #85B79C

Accessibility & contrast

On white

4.97
#487A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#487A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A5F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A5F#FFFFFF#000000##FFFFFF
##487A5F1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735E
Deuteranopia (green-blind)
#716E61
Tritanopia (blue-blind)
#3D7A72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487a5f;
/* rgb */ color: rgb(72, 122, 95);
/* oklch */ color: oklch(53.6% 0.069 159.3);
Tailwind
colors: {
  custom: {
    50: '#7da08c',
    500: '#487a5f',
    950: '#000000',
  },
}
SCSS
$custom: #487a5f;
$custom-light: #7da08c;
$custom-dark: #000000;
JSON
{
  "hex": "#487a5f",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 147.6,
    "s": 25.773,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.06936,
    "h": 159.3
  },
  "luminance": 0.16123
}

Semantic roles & 50–950 ramp

primary
#487A5F
secondary
#A37B91
accent
#6698C2
background
#F7F9F8
surface
#EEF2F0
border
#C9CCCB
text
#0A0F0C
muted
#7C7E7D

Preview Lab

Preview with #487A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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