#287D3B#287D3B

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

Color values

HEX#287D3B
RGBrgb(40, 125, 59)
HSLhsl(133, 52%, 32%)
HSVhsv(133, 68%, 49%)
CMYKcmyk(68%, 0%, 52.8%, 51%)
CIE-LABlab(46.22, -40.32, 28.55)
CIE-LCHlch(46.22, 49.41, 144.70°)
OKLaboklab(52.28% -0.1088 0.069)
OKLCHoklch(52.28% 0.129 147.6)
XYZxyz(8.9975, 15.4332, 6.6416)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D3B #7D286A
analogous
#3F7D28 #287D3B #287D66
triadic
#287D3B #3B287D #7D3B28
tetradic
#287D3B #283F7D #7D286A #7D6628
square
#287D3B #283F7D #7D286A #7D6628
split-complementary
#287D3B #66287D #7D283F
monochromatic
#0A200F #194F25 #287D3B #37AB51 #56C970

Accessibility & contrast

On white

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

On black

4.09
#287D3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287D3B#FFFFFF#000000##FFFFFF
##287D3B1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7235
Deuteranopia (green-blind)
#746B40
Tritanopia (blue-blind)
#0A7A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d3b;
/* rgb */ color: rgb(40, 125, 59);
/* oklch */ color: oklch(52.3% 0.129 147.6);
Tailwind
colors: {
  custom: {
    50: '#6da372',
    500: '#287d3b',
    950: '#000000',
  },
}
SCSS
$custom: #287d3b;
$custom-light: #6da372;
$custom-dark: #000000;
JSON
{
  "hex": "#287d3b",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 59
  },
  "hsl": {
    "h": 133.412,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.12883,
    "h": 147.6
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#287D3B
secondary
#AE539A
accent
#4DBBDB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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