#287D51#287D51

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

Color values

HEX#287D51
RGBrgb(40, 125, 81)
HSLhsl(149, 52%, 32%)
HSVhsv(149, 68%, 49%)
CMYKcmyk(68%, 0%, 35.2%, 51%)
CIE-LABlab(46.59, -36.20, 16.78)
CIE-LCHlch(46.59, 39.90, 155.13°)
OKLaboklab(52.71% -0.0982 0.0423)
OKLCHoklch(52.71% 0.107 156.7)
XYZxyz(9.6930, 15.7114, 10.3048)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D51 #7D2854
analogous
#2A7D28 #287D51 #287D7B
triadic
#287D51 #51287D #7D5128
tetradic
#287D51 #282A7D #7D2854 #7D7B28
square
#287D51 #282A7D #7D2854 #7D7B28
split-complementary
#287D51 #7B287D #7D282A
monochromatic
#0A2015 #194F33 #287D51 #37AB6F #56C98E

Accessibility & contrast

On white

5.07
#287D51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287D51
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D51#FFFFFF#000000##FFFFFF
##287D511.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734E
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287d51;
/* rgb */ color: rgb(40, 125, 81);
/* oklch */ color: oklch(52.7% 0.107 156.7);
Tailwind
colors: {
  custom: {
    50: '#6da382',
    500: '#287d51',
    950: '#000000',
  },
}
SCSS
$custom: #287d51;
$custom-light: #6da382;
$custom-dark: #000000;
JSON
{
  "hex": "#287d51",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 81
  },
  "hsl": {
    "h": 148.941,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5271,
    "c": 0.10696,
    "h": 156.7
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#287D51
secondary
#AE5382
accent
#4D96DB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #287D51

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

Preview Lab → · Contrast checker → · Palette generator →

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