#287D36#287D36

#287D36 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.134 H 146.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#287D36
RGBrgb(40, 125, 54)
HSLhsl(130, 52%, 32%)
HSVhsv(130, 68%, 49%)
CMYKcmyk(68%, 0%, 56.8%, 51%)
CIE-LABlab(46.16, -41.08, 31.10)
CIE-LCHlch(46.16, 51.52, 142.88°)
OKLaboklab(52.21% -0.111 0.0743)
OKLCHoklch(52.21% 0.134 146.2)
XYZxyz(8.8739, 15.3838, 5.9910)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D36 #7D286F
analogous
#457D28 #287D36 #287D60
triadic
#287D36 #36287D #7D3628
tetradic
#287D36 #28457D #7D286F #7D6028
square
#287D36 #28457D #7D286F #7D6028
split-complementary
#287D36 #60287D #7D2845
monochromatic
#0A200E #194F22 #287D36 #37AB4A #56C969

Accessibility & contrast

On white

5.15
#287D36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287D36
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D36#FFFFFF#000000##FFFFFF
##287D361.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722F
Deuteranopia (green-blind)
#746B3B
Tritanopia (blue-blind)
#0E7A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d36;
/* rgb */ color: rgb(40, 125, 54);
/* oklch */ color: oklch(52.2% 0.134 146.2);
Tailwind
colors: {
  custom: {
    50: '#6da36f',
    500: '#287d36',
    950: '#000000',
  },
}
SCSS
$custom: #287d36;
$custom-light: #6da36f;
$custom-dark: #000000;
JSON
{
  "hex": "#287d36",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 129.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52205,
    "c": 0.13355,
    "h": 146.2
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#287D36
secondary
#AE539F
accent
#4DC4DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #287D36

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

Preview Lab → · Contrast checker → · Palette generator →

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