#287D3C#287D3C

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

Color values

HEX#287D3C
RGBrgb(40, 125, 60)
HSLhsl(134, 52%, 32%)
HSVhsv(134, 68%, 49%)
CMYKcmyk(68%, 0%, 52%, 51%)
CIE-LABlab(46.24, -40.16, 28.03)
CIE-LCHlch(46.24, 48.98, 145.09°)
OKLaboklab(52.3% -0.1083 0.0679)
OKLCHoklch(52.3% 0.128 147.9)
XYZxyz(9.0236, 15.4437, 6.7795)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D3C #7D2869
analogous
#3E7D28 #287D3C #287D67
triadic
#287D3C #3C287D #7D3C28
tetradic
#287D3C #283E7D #7D2869 #7D6728
square
#287D3C #283E7D #7D2869 #7D6728
split-complementary
#287D3C #67287D #7D283E
monochromatic
#0A200F #194F26 #287D3C #37AB52 #56C971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287D3C#FFFFFF#000000##FFFFFF
##287D3C1.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)
#7E7237
Deuteranopia (green-blind)
#746B41
Tritanopia (blue-blind)
#097A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287d3c;
/* rgb */ color: rgb(40, 125, 60);
/* oklch */ color: oklch(52.3% 0.128 147.9);
Tailwind
colors: {
  custom: {
    50: '#6da373',
    500: '#287d3c',
    950: '#000000',
  },
}
SCSS
$custom: #287d3c;
$custom-light: #6da373;
$custom-dark: #000000;
JSON
{
  "hex": "#287d3c",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 60
  },
  "hsl": {
    "h": 134.118,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52298,
    "c": 0.12786,
    "h": 147.9
  },
  "luminance": 0.15445
}

Semantic roles & 50–950 ramp

primary
#287D3C
secondary
#AE5399
accent
#4DBADB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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