#287D4D#287D4D

#287D4D is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.6% C 0.111 H 154.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#287D4D
RGBrgb(40, 125, 77)
HSLhsl(146, 52%, 32%)
HSVhsv(146, 68%, 49%)
CMYKcmyk(68%, 0%, 38.4%, 51%)
CIE-LABlab(46.52, -37.04, 18.96)
CIE-LCHlch(46.52, 41.61, 152.89°)
OKLaboklab(52.62% -0.1003 0.0475)
OKLCHoklch(52.62% 0.111 154.7)
XYZxyz(9.5474, 15.6532, 9.5379)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D4D #7D2858
analogous
#2D7D28 #287D4D #287D78
triadic
#287D4D #4D287D #7D4D28
tetradic
#287D4D #282D7D #7D2858 #7D7828
square
#287D4D #282D7D #7D2858 #7D7828
split-complementary
#287D4D #78287D #7D282D
monochromatic
#0A2014 #194F30 #287D4D #37AB6A #56C988

Accessibility & contrast

On white

5.08
#287D4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#287D4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D4D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D4D#FFFFFF#000000##FFFFFF
##287D4D1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734A
Deuteranopia (green-blind)
#726B50
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287d4d;
/* rgb */ color: rgb(40, 125, 77);
/* oklch */ color: oklch(52.6% 0.111 154.7);
Tailwind
colors: {
  custom: {
    50: '#6da37f',
    500: '#287d4d',
    950: '#000000',
  },
}
SCSS
$custom: #287d4d;
$custom-light: #6da37f;
$custom-dark: #000000;
JSON
{
  "hex": "#287d4d",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 77
  },
  "hsl": {
    "h": 146.118,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5262,
    "c": 0.11093,
    "h": 154.7
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#287D4D
secondary
#AE5386
accent
#4D9DDB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #287D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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