#287C3B#287C3B

#287C3B is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.127 H 147.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#287C3B
RGBrgb(40, 124, 59)
HSLhsl(134, 51%, 32%)
HSVhsv(134, 68%, 49%)
CMYKcmyk(67.7%, 0%, 52.4%, 51.4%)
CIE-LABlab(45.88, -39.92, 28.13)
CIE-LCHlch(45.88, 48.84, 144.83°)
OKLaboklab(52% -0.1077 0.0681)
OKLCHoklch(52% 0.127 147.7)
XYZxyz(8.8715, 15.1813, 6.5996)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C3B #7C2869
analogous
#3F7C28 #287C3B #287C65
triadic
#287C3B #3B287C #7C3B28
tetradic
#287C3B #283F7C #7C2869 #7C6528
square
#287C3B #283F7C #7C2869 #7C6528
split-complementary
#287C3B #65287C #7C283F
monochromatic
#0A1F0F #194E25 #287C3B #37AA51 #56C870

Accessibility & contrast

On white

5.20
#287C3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#287C3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C3B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C3B#FFFFFF#000000##FFFFFF
##287C3B1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7135
Deuteranopia (green-blind)
#736A40
Tritanopia (blue-blind)
#0B796D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c3b;
/* rgb */ color: rgb(40, 124, 59);
/* oklch */ color: oklch(52.0% 0.127 147.7);
Tailwind
colors: {
  custom: {
    50: '#6da372',
    500: '#287c3b',
    950: '#000000',
  },
}
SCSS
$custom: #287c3b;
$custom-light: #6da372;
$custom-dark: #000000;
JSON
{
  "hex": "#287c3b",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 59
  },
  "hsl": {
    "h": 133.571,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52001,
    "c": 0.12742,
    "h": 147.7
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#287C3B
secondary
#AD5299
accent
#4DBBDB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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