#287C4C#287C4C

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

Color values

HEX#287C4C
RGBrgb(40, 124, 76)
HSLhsl(146, 51%, 32%)
HSVhsv(146, 68%, 49%)
CMYKcmyk(67.7%, 0%, 38.7%, 51.4%)
CIE-LABlab(46.16, -36.82, 19.06)
CIE-LCHlch(46.16, 41.46, 152.63°)
OKLaboklab(52.32% -0.0996 0.0477)
OKLCHoklch(52.32% 0.11 154.4)
XYZxyz(9.3864, 15.3872, 9.3114)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C4C #7C2858
analogous
#2E7C28 #287C4C #287C76
triadic
#287C4C #4C287C #7C4C28
tetradic
#287C4C #282E7C #7C2858 #7C7628
square
#287C4C #282E7C #7C2858 #7C7628
split-complementary
#287C4C #76287C #7C282E
monochromatic
#0A1F13 #194E30 #287C4C #37AA68 #56C887

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287C4C#FFFFFF#000000##FFFFFF
##287C4C1.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)
#7C7249
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c4c;
/* rgb */ color: rgb(40, 124, 76);
/* oklch */ color: oklch(52.3% 0.110 154.4);
Tailwind
colors: {
  custom: {
    50: '#6da37e',
    500: '#287c4c',
    950: '#000000',
  },
}
SCSS
$custom: #287c4c;
$custom-light: #6da37e;
$custom-dark: #000000;
JSON
{
  "hex": "#287c4c",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 76
  },
  "hsl": {
    "h": 145.714,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52322,
    "c": 0.11045,
    "h": 154.4
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#287C4C
secondary
#AD5286
accent
#4D9EDB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #287C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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