#287D3F#287D3F

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

Color values

HEX#287D3F
RGBrgb(40, 125, 63)
HSLhsl(136, 52%, 32%)
HSVhsv(136, 68%, 49%)
CMYKcmyk(68%, 0%, 49.6%, 51%)
CIE-LABlab(46.28, -39.67, 26.47)
CIE-LCHlch(46.28, 47.69, 146.28°)
OKLaboklab(52.35% -0.107 0.0645)
OKLCHoklch(52.35% 0.125 148.9)
XYZxyz(9.1052, 15.4763, 7.2090)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D3F #7D2866
analogous
#3C7D28 #287D3F #287D69
triadic
#287D3F #3F287D #7D3F28
tetradic
#287D3F #283C7D #7D2866 #7D6928
square
#287D3F #283C7D #7D2866 #7D6928
split-complementary
#287D3F #69287D #7D283C
monochromatic
#0A2010 #194F28 #287D3F #37AB56 #56C975

Accessibility & contrast

On white

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

On black

4.10
#287D3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287D3F#FFFFFF#000000##FFFFFF
##287D3F1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723A
Deuteranopia (green-blind)
#736B43
Tritanopia (blue-blind)
#077B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287d3f;
/* rgb */ color: rgb(40, 125, 63);
/* oklch */ color: oklch(52.3% 0.125 148.9);
Tailwind
colors: {
  custom: {
    50: '#6da375',
    500: '#287d3f',
    950: '#000000',
  },
}
SCSS
$custom: #287d3f;
$custom-light: #6da375;
$custom-dark: #000000;
JSON
{
  "hex": "#287d3f",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 63
  },
  "hsl": {
    "h": 136.235,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.12493,
    "h": 148.9
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#287D3F
secondary
#AE5395
accent
#4DB5DB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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