#287A48#287A48

#287A48 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.112 H 153.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#287A48
RGBrgb(40, 122, 72)
HSLhsl(143, 51%, 32%)
HSVhsv(143, 67%, 48%)
CMYKcmyk(67.2%, 0%, 41%, 52.2%)
CIE-LABlab(45.41, -36.77, 20.34)
CIE-LCHlch(45.41, 42.02, 151.05°)
OKLaboklab(51.68% -0.0994 0.0506)
OKLCHoklch(51.68% 0.112 153)
XYZxyz(9.0036, 14.8371, 8.5190)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A48 #7A285A
analogous
#317A28 #287A48 #287A71
triadic
#287A48 #48287A #7A4828
tetradic
#287A48 #28317A #7A285A #7A7128
square
#287A48 #28317A #7A285A #7A7128
split-complementary
#287A48 #71287A #7A2831
monochromatic
#0A1E12 #194C2D #287A48 #37A863 #55C782

Accessibility & contrast

On white

5.29
#287A48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#287A48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A48
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A48#FFFFFF#000000##FFFFFF
##287A481.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7045
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287a48;
/* rgb */ color: rgb(40, 122, 72);
/* oklch */ color: oklch(51.7% 0.112 153.0);
Tailwind
colors: {
  custom: {
    50: '#6ca17b',
    500: '#287a48',
    950: '#000000',
  },
}
SCSS
$custom: #287a48;
$custom-light: #6ca17b;
$custom-dark: #000000;
JSON
{
  "hex": "#287a48",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 72
  },
  "hsl": {
    "h": 143.415,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.11155,
    "h": 153
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

primary
#287A48
secondary
#AC5289
accent
#4EA3DA
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #287A48

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

Preview Lab → · Contrast checker → · Palette generator →

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