#287D3E#287D3E

#287D3E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.126 H 148.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#287D3E
RGBrgb(40, 125, 62)
HSLhsl(136, 52%, 32%)
HSVhsv(136, 68%, 49%)
CMYKcmyk(68%, 0%, 50.4%, 51%)
CIE-LABlab(46.26, -39.83, 26.99)
CIE-LCHlch(46.26, 48.12, 145.88°)
OKLaboklab(52.33% -0.1074 0.0657)
OKLCHoklch(52.33% 0.126 148.6)
XYZxyz(9.0775, 15.4652, 7.0632)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D3E #7D2867
analogous
#3D7D28 #287D3E #287D68
triadic
#287D3E #3E287D #7D3E28
tetradic
#287D3E #283D7D #7D2867 #7D6828
square
#287D3E #283D7D #7D2867 #7D6828
split-complementary
#287D3E #68287D #7D283D
monochromatic
#0A2010 #194F27 #287D3E #37AB55 #56C974

Accessibility & contrast

On white

5.13
#287D3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287D3E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D3E#FFFFFF#000000##FFFFFF
##287D3E1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7239
Deuteranopia (green-blind)
#746B42
Tritanopia (blue-blind)
#087A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287d3e;
/* rgb */ color: rgb(40, 125, 62);
/* oklch */ color: oklch(52.3% 0.126 148.6);
Tailwind
colors: {
  custom: {
    50: '#6da374',
    500: '#287d3e',
    950: '#000000',
  },
}
SCSS
$custom: #287d3e;
$custom-light: #6da374;
$custom-dark: #000000;
JSON
{
  "hex": "#287d3e",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 62
  },
  "hsl": {
    "h": 135.529,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.12591,
    "h": 148.6
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#287D3E
secondary
#AE5396
accent
#4DB6DB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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