#287F48#287F48

#287F48 is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.1% C 0.119 H 152.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#287F48
RGBrgb(40, 127, 72)
HSLhsl(142, 52%, 33%)
HSVhsv(142, 69%, 50%)
CMYKcmyk(68.5%, 0%, 43.3%, 50.2%)
CIE-LABlab(47.10, -38.87, 22.56)
CIE-LCHlch(47.10, 44.94, 149.87°)
OKLaboklab(53.07% -0.1049 0.0559)
OKLCHoklch(53.07% 0.119 152)
XYZxyz(9.6334, 16.0967, 8.7289)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F48 #7F285F
analogous
#337F28 #287F48 #287F73
triadic
#287F48 #48287F #7F4828
tetradic
#287F48 #28337F #7F285F #7F7328
square
#287F48 #28337F #7F285F #7F7328
split-complementary
#287F48 #73287F #7F2833
monochromatic
#0B2213 #19502E #287F48 #37AE62 #57CA82

Accessibility & contrast

On white

4.98
#287F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#287F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F48
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F48#FFFFFF#000000##FFFFFF
##287F481.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7444
Deuteranopia (green-blind)
#746D4C
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #287f48;
/* rgb */ color: rgb(40, 127, 72);
/* oklch */ color: oklch(53.1% 0.119 152.0);
Tailwind
colors: {
  custom: {
    50: '#6da57b',
    500: '#287f48',
    950: '#000000',
  },
}
SCSS
$custom: #287f48;
$custom-light: #6da57b;
$custom-dark: #000000;
JSON
{
  "hex": "#287f48",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 72
  },
  "hsl": {
    "h": 142.069,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53073,
    "c": 0.11883,
    "h": 152
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#287F48
secondary
#AF548E
accent
#4CA7DC
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #287F48

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

Preview Lab → · Contrast checker → · Palette generator →

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