#287F53#287F53

#287F53 is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.3% C 0.108 H 157.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#287F53
RGBrgb(40, 127, 83)
HSLhsl(150, 52%, 33%)
HSVhsv(150, 69%, 50%)
CMYKcmyk(68.5%, 0%, 34.6%, 50.2%)
CIE-LABlab(47.31, -36.63, 16.59)
CIE-LCHlch(47.31, 40.21, 155.63°)
OKLaboklab(53.31% -0.0995 0.0419)
OKLCHoklch(53.31% 0.108 157.2)
XYZxyz(10.0248, 16.2533, 10.7908)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F53 #7F2854
analogous
#287F28 #287F53 #287F7E
triadic
#287F53 #53287F #7F5328
tetradic
#287F53 #28287F #7F2854 #7F7E28
square
#287F53 #28287F #7F2854 #7F7E28
split-complementary
#287F53 #7E287F #7F2828
monochromatic
#0B2216 #195035 #287F53 #37AE71 #57CA90

Accessibility & contrast

On white

4.94
#287F53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#287F53 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F53
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F53#FFFFFF#000000##FFFFFF
##287F531.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7550
Deuteranopia (green-blind)
#736D56
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #287f53;
/* rgb */ color: rgb(40, 127, 83);
/* oklch */ color: oklch(53.3% 0.108 157.2);
Tailwind
colors: {
  custom: {
    50: '#6da583',
    500: '#287f53',
    950: '#000000',
  },
}
SCSS
$custom: #287f53;
$custom-light: #6da583;
$custom-dark: #000000;
JSON
{
  "hex": "#287f53",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 83
  },
  "hsl": {
    "h": 149.655,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.10791,
    "h": 157.2
  },
  "luminance": 0.16254
}

Semantic roles & 50–950 ramp

primary
#287F53
secondary
#AF5482
accent
#4C95DC
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #287F53

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

Preview Lab → · Contrast checker → · Palette generator →

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