#487B2F#487B2F

#487B2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.9% C 0.121 H 136.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#487B2F
RGBrgb(72, 123, 47)
HSLhsl(100, 45%, 33%)
HSVhsv(100, 62%, 48%)
CMYKcmyk(41.5%, 0%, 61.8%, 51.8%)
CIE-LABlab(46.64, -31.88, 35.50)
CIE-LCHlch(46.64, 47.71, 131.92°)
OKLaboklab(52.92% -0.0881 0.083)
OKLCHoklch(52.92% 0.121 136.7)
XYZxyz(10.2683, 15.7483, 5.1875)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B2F #622F7B
analogous
#6E7B2F #487B2F #2F7B3C
triadic
#487B2F #2F487B #7B2F48
tetradic
#487B2F #2F6E7B #622F7B #7B3C2F
square
#487B2F #2F6E7B #622F7B #7B3C2F
split-complementary
#487B2F #3C2F7B #7B2F6E
monochromatic
#14220D #2E4F1E #487B2F #62A740 #82C362

Accessibility & contrast

On white

5.06
#487B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#487B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B2F#FFFFFF#000000##FFFFFF
##487B2F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#46776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #487b2f;
/* rgb */ color: rgb(72, 123, 47);
/* oklch */ color: oklch(52.9% 0.121 136.7);
Tailwind
colors: {
  custom: {
    50: '#7fa16a',
    500: '#487b2f',
    950: '#000000',
  },
}
SCSS
$custom: #487b2f;
$custom-light: #7fa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#487b2f",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 100.263,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.12105,
    "h": 136.7
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#487B2F
secondary
#905CAA
accent
#53D4AA
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #487B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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