#287F49#287F49

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

Color values

HEX#287F49
RGBrgb(40, 127, 73)
HSLhsl(143, 52%, 33%)
HSVhsv(143, 69%, 50%)
CMYKcmyk(68.5%, 0%, 42.5%, 50.2%)
CIE-LABlab(47.12, -38.68, 22.02)
CIE-LCHlch(47.12, 44.50, 150.34°)
OKLaboklab(53.09% -0.1044 0.0546)
OKLCHoklch(53.09% 0.118 152.4)
XYZxyz(9.6662, 16.1099, 8.9021)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F49 #7F285E
analogous
#327F28 #287F49 #287F75
triadic
#287F49 #49287F #7F4928
tetradic
#287F49 #28327F #7F285E #7F7528
square
#287F49 #28327F #7F285E #7F7528
split-complementary
#287F49 #75287F #7F2832
monochromatic
#0B2213 #19502E #287F49 #37AE64 #57CA83

Accessibility & contrast

On white

4.97
#287F49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287F49
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F49#FFFFFF#000000##FFFFFF
##287F491.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7445
Deuteranopia (green-blind)
#746D4D
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #287f49;
/* rgb */ color: rgb(40, 127, 73);
/* oklch */ color: oklch(53.1% 0.118 152.4);
Tailwind
colors: {
  custom: {
    50: '#6da57c',
    500: '#287f49',
    950: '#000000',
  },
}
SCSS
$custom: #287f49;
$custom-light: #6da57c;
$custom-dark: #000000;
JSON
{
  "hex": "#287f49",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 73
  },
  "hsl": {
    "h": 142.759,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.11784,
    "h": 152.4
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#287F49
secondary
#AF548C
accent
#4CA5DC
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #287F49

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

Preview Lab → · Contrast checker → · Palette generator →

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