#287E47#287E47

#287E47 is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.118 H 151.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#287E47
RGBrgb(40, 126, 71)
HSLhsl(142, 52%, 33%)
HSVhsv(142, 68%, 49%)
CMYKcmyk(68.3%, 0%, 43.7%, 50.6%)
CIE-LABlab(46.75, -38.64, 22.65)
CIE-LCHlch(46.75, 44.79, 149.62°)
OKLaboklab(52.78% -0.1043 0.0561)
OKLCHoklch(52.78% 0.118 151.7)
XYZxyz(9.4725, 15.8268, 8.5157)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E47 #7E285F
analogous
#347E28 #287E47 #287E72
triadic
#287E47 #47287E #7E4728
tetradic
#287E47 #28347E #7E285F #7E7228
square
#287E47 #28347E #7E285F #7E7228
split-complementary
#287E47 #72287E #7E2834
monochromatic
#0B2113 #19502D #287E47 #37AC61 #57CA80

Accessibility & contrast

On white

5.04
#287E47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#287E47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E47
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E47#FFFFFF#000000##FFFFFF
##287E471.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7343
Deuteranopia (green-blind)
#736C4B
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287e47;
/* rgb */ color: rgb(40, 126, 71);
/* oklch */ color: oklch(52.8% 0.118 151.7);
Tailwind
colors: {
  custom: {
    50: '#6da47b',
    500: '#287e47',
    950: '#000000',
  },
}
SCSS
$custom: #287e47;
$custom-light: #6da47b;
$custom-dark: #000000;
JSON
{
  "hex": "#287e47",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 71
  },
  "hsl": {
    "h": 141.628,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.11839,
    "h": 151.7
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#287E47
secondary
#AF538E
accent
#4DA8DB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #287E47

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

Preview Lab → · Contrast checker → · Palette generator →

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