#287C4A#287C4A

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

Color values

HEX#287C4A
RGBrgb(40, 124, 74)
HSLhsl(144, 51%, 32%)
HSVhsv(144, 68%, 49%)
CMYKcmyk(67.7%, 0%, 40.3%, 51.4%)
CIE-LABlab(46.12, -37.22, 20.15)
CIE-LCHlch(46.12, 42.33, 151.58°)
OKLaboklab(52.28% -0.1006 0.0502)
OKLCHoklch(52.28% 0.112 153.5)
XYZxyz(9.3180, 15.3599, 8.9509)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C4A #7C285A
analogous
#307C28 #287C4A #287C74
triadic
#287C4A #4A287C #7C4A28
tetradic
#287C4A #28307C #7C285A #7C7428
square
#287C4A #28307C #7C285A #7C7428
split-complementary
#287C4A #74287C #7C2830
monochromatic
#0A1F13 #194E2E #287C4A #37AA66 #56C884

Accessibility & contrast

On white

5.16
#287C4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287C4A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C4A#FFFFFF#000000##FFFFFF
##287C4A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7247
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c4a;
/* rgb */ color: rgb(40, 124, 74);
/* oklch */ color: oklch(52.3% 0.112 153.5);
Tailwind
colors: {
  custom: {
    50: '#6da37d',
    500: '#287c4a',
    950: '#000000',
  },
}
SCSS
$custom: #287c4a;
$custom-light: #6da37d;
$custom-dark: #000000;
JSON
{
  "hex": "#287c4a",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 74
  },
  "hsl": {
    "h": 144.286,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.11246,
    "h": 153.5
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#287C4A
secondary
#AD5289
accent
#4DA1DB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #287C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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