#287D47#287D47

#287D47 is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.5% C 0.117 H 151.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#287D47
RGBrgb(40, 125, 71)
HSLhsl(142, 52%, 32%)
HSVhsv(142, 68%, 49%)
CMYKcmyk(68%, 0%, 43.2%, 51%)
CIE-LABlab(46.41, -38.23, 22.21)
CIE-LCHlch(46.41, 44.21, 149.84°)
OKLaboklab(52.5% -0.1032 0.055)
OKLCHoklch(52.5% 0.117 151.9)
XYZxyz(9.3453, 15.5723, 8.4733)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D47 #7D285E
analogous
#347D28 #287D47 #287D71
triadic
#287D47 #47287D #7D4728
tetradic
#287D47 #28347D #7D285E #7D7128
square
#287D47 #28347D #7D285E #7D7128
split-complementary
#287D47 #71287D #7D2834
monochromatic
#0A2012 #194F2D #287D47 #37AB61 #56C980

Accessibility & contrast

On white

5.10
#287D47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#287D47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D47
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D47#FFFFFF#000000##FFFFFF
##287D471.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7343
Deuteranopia (green-blind)
#736B4B
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287d47;
/* rgb */ color: rgb(40, 125, 71);
/* oklch */ color: oklch(52.5% 0.117 151.9);
Tailwind
colors: {
  custom: {
    50: '#6da37b',
    500: '#287d47',
    950: '#000000',
  },
}
SCSS
$custom: #287d47;
$custom-light: #6da37b;
$custom-dark: #000000;
JSON
{
  "hex": "#287d47",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 71
  },
  "hsl": {
    "h": 141.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.11694,
    "h": 151.9
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#287D47
secondary
#AE538D
accent
#4DA7DB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #287D47

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

Preview Lab → · Contrast checker → · Palette generator →

#287D47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva