#287D48#287D48

#287D48 is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.5% C 0.116 H 152.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#287D48
RGBrgb(40, 125, 72)
HSLhsl(143, 52%, 32%)
HSVhsv(143, 68%, 49%)
CMYKcmyk(68%, 0%, 42.4%, 51%)
CIE-LABlab(46.43, -38.04, 21.67)
CIE-LCHlch(46.43, 43.78, 150.32°)
OKLaboklab(52.52% -0.1027 0.0538)
OKLCHoklch(52.52% 0.116 152.4)
XYZxyz(9.3776, 15.5852, 8.6437)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D48 #7D285D
analogous
#337D28 #287D48 #287D72
triadic
#287D48 #48287D #7D4828
tetradic
#287D48 #28337D #7D285D #7D7228
square
#287D48 #28337D #7D285D #7D7228
split-complementary
#287D48 #72287D #7D2833
monochromatic
#0A2013 #194F2D #287D48 #37AB63 #56C982

Accessibility & contrast

On white

5.10
#287D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#287D48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D48
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D48#FFFFFF#000000##FFFFFF
##287D481.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7344
Deuteranopia (green-blind)
#726B4C
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287d48;
/* rgb */ color: rgb(40, 125, 72);
/* oklch */ color: oklch(52.5% 0.116 152.4);
Tailwind
colors: {
  custom: {
    50: '#6da37b',
    500: '#287d48',
    950: '#000000',
  },
}
SCSS
$custom: #287d48;
$custom-light: #6da37b;
$custom-dark: #000000;
JSON
{
  "hex": "#287d48",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 72
  },
  "hsl": {
    "h": 142.588,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52516,
    "c": 0.11593,
    "h": 152.4
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#287D48
secondary
#AE538C
accent
#4DA5DB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #287D48

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

Preview Lab → · Contrast checker → · Palette generator →

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