#287E52#287E52

#287E52 is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.0% C 0.107 H 157.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#287E52
RGBrgb(40, 126, 82)
HSLhsl(149, 52%, 33%)
HSVhsv(149, 68%, 49%)
CMYKcmyk(68.3%, 0%, 34.9%, 50.6%)
CIE-LABlab(46.95, -36.41, 16.68)
CIE-LCHlch(46.95, 40.05, 155.38°)
OKLaboklab(53.01% -0.0989 0.0421)
OKLCHoklch(53.01% 0.107 157)
XYZxyz(9.8580, 15.9810, 10.5461)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E52 #7E2854
analogous
#297E28 #287E52 #287E7D
triadic
#287E52 #52287E #7E5228
tetradic
#287E52 #28297E #7E2854 #7E7D28
square
#287E52 #28297E #7E2854 #7E7D28
split-complementary
#287E52 #7D287E #7E2829
monochromatic
#0B2116 #195034 #287E52 #37AC70 #57CA8F

Accessibility & contrast

On white

5.00
#287E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#287E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E52
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E52#FFFFFF#000000##FFFFFF
##287E521.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744F
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#007D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287e52;
/* rgb */ color: rgb(40, 126, 82);
/* oklch */ color: oklch(53.0% 0.107 157.0);
Tailwind
colors: {
  custom: {
    50: '#6da483',
    500: '#287e52',
    950: '#000000',
  },
}
SCSS
$custom: #287e52;
$custom-light: #6da483;
$custom-dark: #000000;
JSON
{
  "hex": "#287e52",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 149.302,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53008,
    "c": 0.10744,
    "h": 157
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#287E52
secondary
#AF5382
accent
#4D96DB
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #287E52

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

Preview Lab → · Contrast checker → · Palette generator →

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