#287D4F#287D4F

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

Color values

HEX#287D4F
RGBrgb(40, 125, 79)
HSLhsl(148, 52%, 32%)
HSVhsv(148, 68%, 49%)
CMYKcmyk(68%, 0%, 36.8%, 51%)
CIE-LABlab(46.55, -36.62, 17.87)
CIE-LCHlch(46.55, 40.75, 153.99°)
OKLaboklab(52.66% -0.0992 0.0449)
OKLCHoklch(52.66% 0.109 155.7)
XYZxyz(9.6191, 15.6818, 9.9156)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D4F #7D2856
analogous
#2C7D28 #287D4F #287D79
triadic
#287D4F #4F287D #7D4F28
tetradic
#287D4F #282C7D #7D2856 #7D7928
square
#287D4F #282C7D #7D2856 #7D7928
split-complementary
#287D4F #79287D #7D282C
monochromatic
#0A2014 #194F32 #287D4F #37AB6C #56C98B

Accessibility & contrast

On white

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

On black

4.14
#287D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287D4F#FFFFFF#000000##FFFFFF
##287D4F1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734C
Deuteranopia (green-blind)
#716B52
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287d4f;
/* rgb */ color: rgb(40, 125, 79);
/* oklch */ color: oklch(52.7% 0.109 155.7);
Tailwind
colors: {
  custom: {
    50: '#6da380',
    500: '#287d4f',
    950: '#000000',
  },
}
SCSS
$custom: #287d4f;
$custom-light: #6da380;
$custom-dark: #000000;
JSON
{
  "hex": "#287d4f",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 79
  },
  "hsl": {
    "h": 147.529,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.10893,
    "h": 155.7
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#287D4F
secondary
#AE5384
accent
#4D9ADB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #287D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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