#287D45#287D45

#287D45 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.119 H 151.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#287D45
RGBrgb(40, 125, 69)
HSLhsl(140, 52%, 32%)
HSVhsv(140, 68%, 49%)
CMYKcmyk(68%, 0%, 44.8%, 51%)
CIE-LABlab(46.37, -38.60, 23.29)
CIE-LCHlch(46.37, 45.08, 148.90°)
OKLaboklab(52.46% -0.1041 0.0575)
OKLCHoklch(52.46% 0.119 151.1)
XYZxyz(9.2821, 15.5470, 8.1408)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D45 #7D2860
analogous
#357D28 #287D45 #287D70
triadic
#287D45 #45287D #7D4528
tetradic
#287D45 #28357D #7D2860 #7D7028
square
#287D45 #28357D #7D2860 #7D7028
split-complementary
#287D45 #70287D #7D2835
monochromatic
#0A2012 #194F2B #287D45 #37AB5F #56C97D

Accessibility & contrast

On white

5.11
#287D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#287D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D45
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D45#FFFFFF#000000##FFFFFF
##287D451.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7241
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#017B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287d45;
/* rgb */ color: rgb(40, 125, 69);
/* oklch */ color: oklch(52.5% 0.119 151.1);
Tailwind
colors: {
  custom: {
    50: '#6da379',
    500: '#287d45',
    950: '#000000',
  },
}
SCSS
$custom: #287d45;
$custom-light: #6da379;
$custom-dark: #000000;
JSON
{
  "hex": "#287d45",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 69
  },
  "hsl": {
    "h": 140.471,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.11895,
    "h": 151.1
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#287D45
secondary
#AE538F
accent
#4DAADB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #287D45

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

Preview Lab → · Contrast checker → · Palette generator →

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