#287D37#287D37

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

Color values

HEX#287D37
RGBrgb(40, 125, 55)
HSLhsl(131, 52%, 32%)
HSVhsv(131, 68%, 49%)
CMYKcmyk(68%, 0%, 56%, 51%)
CIE-LABlab(46.17, -40.94, 30.59)
CIE-LCHlch(46.17, 51.10, 143.23°)
OKLaboklab(52.22% -0.1105 0.0733)
OKLCHoklch(52.22% 0.133 146.5)
XYZxyz(8.8977, 15.3933, 6.1160)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D37 #7D286E
analogous
#447D28 #287D37 #287D61
triadic
#287D37 #37287D #7D3728
tetradic
#287D37 #28447D #7D286E #7D6128
square
#287D37 #28447D #7D286E #7D6128
split-complementary
#287D37 #61287D #7D2844
monochromatic
#0A200E #194F23 #287D37 #37AB4B #56C96B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287D37#FFFFFF#000000##FFFFFF
##287D371.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)
#7F7231
Deuteranopia (green-blind)
#746B3C
Tritanopia (blue-blind)
#0D7A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d37;
/* rgb */ color: rgb(40, 125, 55);
/* oklch */ color: oklch(52.2% 0.133 146.5);
Tailwind
colors: {
  custom: {
    50: '#6da370',
    500: '#287d37',
    950: '#000000',
  },
}
SCSS
$custom: #287d37;
$custom-light: #6da370;
$custom-dark: #000000;
JSON
{
  "hex": "#287d37",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 130.588,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5222,
    "c": 0.13262,
    "h": 146.5
  },
  "luminance": 0.15394
}

Semantic roles & 50–950 ramp

primary
#287D37
secondary
#AE539E
accent
#4DC2DB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #287D37

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

Preview Lab → · Contrast checker → · Palette generator →

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