#287D39#287D39

#287D39 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.131 H 147.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#287D39
RGBrgb(40, 125, 57)
HSLhsl(132, 52%, 32%)
HSVhsv(132, 68%, 49%)
CMYKcmyk(68%, 0%, 54.4%, 51%)
CIE-LABlab(46.19, -40.63, 29.58)
CIE-LCHlch(46.19, 50.26, 143.95°)
OKLaboklab(52.25% -0.1097 0.0712)
OKLCHoklch(52.25% 0.131 147)
XYZxyz(8.9466, 15.4128, 6.3736)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D39 #7D286C
analogous
#427D28 #287D39 #287D64
triadic
#287D39 #39287D #7D3928
tetradic
#287D39 #28427D #7D286C #7D6428
square
#287D39 #28427D #7D286C #7D6428
split-complementary
#287D39 #64287D #7D2842
monochromatic
#0A200F #194F24 #287D39 #37AB4E #56C96D

Accessibility & contrast

On white

5.14
#287D39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287D39
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D39#FFFFFF#000000##FFFFFF
##287D391.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7233
Deuteranopia (green-blind)
#746B3E
Tritanopia (blue-blind)
#0C7A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d39;
/* rgb */ color: rgb(40, 125, 57);
/* oklch */ color: oklch(52.3% 0.131 147.0);
Tailwind
colors: {
  custom: {
    50: '#6da371',
    500: '#287d39',
    950: '#000000',
  },
}
SCSS
$custom: #287d39;
$custom-light: #6da371;
$custom-dark: #000000;
JSON
{
  "hex": "#287d39",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 132,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5225,
    "c": 0.13073,
    "h": 147
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#287D39
secondary
#AE539C
accent
#4DBFDB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287D39

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

Preview Lab → · Contrast checker → · Palette generator →

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