#487A2F#487A2F

#487A2F is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.7% C 0.120 H 136.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#487A2F
RGBrgb(72, 122, 47)
HSLhsl(100, 44%, 33%)
HSVhsv(100, 61%, 48%)
CMYKcmyk(41%, 0%, 61.5%, 52.2%)
CIE-LABlab(46.31, -31.42, 35.13)
CIE-LCHlch(46.31, 47.13, 131.81°)
OKLaboklab(52.65% -0.0868 0.0822)
OKLCHoklch(52.65% 0.12 136.6)
XYZxyz(10.1448, 15.5015, 5.1463)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A2F #612F7A
analogous
#6D7A2F #487A2F #2F7A3B
triadic
#487A2F #2F487A #7A2F48
tetradic
#487A2F #2F6D7A #612F7A #7A3B2F
square
#487A2F #2F6D7A #612F7A #7A3B2F
split-complementary
#487A2F #3B2F7A #7A2F6D
monochromatic
#14220D #2E4E1E #487A2F #62A640 #82C261

Accessibility & contrast

On white

5.12
#487A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#487A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A2F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A2F#FFFFFF#000000##FFFFFF
##487A2F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#46766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487a2f;
/* rgb */ color: rgb(72, 122, 47);
/* oklch */ color: oklch(52.7% 0.120 136.6);
Tailwind
colors: {
  custom: {
    50: '#7fa16a',
    500: '#487a2f',
    950: '#000000',
  },
}
SCSS
$custom: #487a2f;
$custom-light: #7fa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#487a2f",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 100,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52654,
    "c": 0.11959,
    "h": 136.6
  },
  "luminance": 0.15502
}

Semantic roles & 50–950 ramp

primary
#487A2F
secondary
#8F5CA9
accent
#54D4A9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F07
muted
#7C7E7A

Preview Lab

Preview with #487A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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