#287C4B#287C4B

#287C4B is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.3% C 0.111 H 153.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#287C4B
RGBrgb(40, 124, 75)
HSLhsl(145, 51%, 32%)
HSVhsv(145, 68%, 49%)
CMYKcmyk(67.7%, 0%, 39.5%, 51.4%)
CIE-LABlab(46.14, -37.02, 19.60)
CIE-LCHlch(46.14, 41.89, 152.10°)
OKLaboklab(52.3% -0.1001 0.049)
OKLCHoklch(52.3% 0.111 153.9)
XYZxyz(9.3519, 15.3734, 9.1298)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C4B #7C2859
analogous
#2F7C28 #287C4B #287C75
triadic
#287C4B #4B287C #7C4B28
tetradic
#287C4B #282F7C #7C2859 #7C7528
square
#287C4B #282F7C #7C2859 #7C7528
split-complementary
#287C4B #75287C #7C282F
monochromatic
#0A1F13 #194E2F #287C4B #37AA67 #56C886

Accessibility & contrast

On white

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

On black

4.07
#287C4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287C4B#FFFFFF#000000##FFFFFF
##287C4B1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7248
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c4b;
/* rgb */ color: rgb(40, 124, 75);
/* oklch */ color: oklch(52.3% 0.111 153.9);
Tailwind
colors: {
  custom: {
    50: '#6da37d',
    500: '#287c4b',
    950: '#000000',
  },
}
SCSS
$custom: #287c4b;
$custom-light: #6da37d;
$custom-dark: #000000;
JSON
{
  "hex": "#287c4b",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 75
  },
  "hsl": {
    "h": 145,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.523,
    "c": 0.11146,
    "h": 153.9
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#287C4B
secondary
#AD5287
accent
#4DA0DB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #287C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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