#287C4D#287C4D

#287C4D is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.3% C 0.109 H 154.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#287C4D
RGBrgb(40, 124, 77)
HSLhsl(146, 51%, 32%)
HSVhsv(146, 68%, 49%)
CMYKcmyk(67.7%, 0%, 37.9%, 51.4%)
CIE-LABlab(46.18, -36.61, 18.51)
CIE-LCHlch(46.18, 41.03, 153.18°)
OKLaboklab(52.34% -0.0991 0.0464)
OKLCHoklch(52.34% 0.109 154.9)
XYZxyz(9.4215, 15.4012, 9.4960)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C4D #7C2857
analogous
#2D7C28 #287C4D #287C77
triadic
#287C4D #4D287C #7C4D28
tetradic
#287C4D #282D7C #7C2857 #7C7728
square
#287C4D #282D7C #7C2857 #7C7728
split-complementary
#287C4D #77287C #7C282D
monochromatic
#0A1F14 #194E30 #287C4D #37AA6A #56C888

Accessibility & contrast

On white

5.15
#287C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#287C4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C4D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C4D#FFFFFF#000000##FFFFFF
##287C4D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724A
Deuteranopia (green-blind)
#716A50
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c4d;
/* rgb */ color: rgb(40, 124, 77);
/* oklch */ color: oklch(52.3% 0.109 154.9);
Tailwind
colors: {
  custom: {
    50: '#6da37f',
    500: '#287c4d',
    950: '#000000',
  },
}
SCSS
$custom: #287c4d;
$custom-light: #6da37f;
$custom-dark: #000000;
JSON
{
  "hex": "#287c4d",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 77
  },
  "hsl": {
    "h": 146.429,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.10946,
    "h": 154.9
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#287C4D
secondary
#AD5285
accent
#4D9CDB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #287C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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