#287C52#287C52

#287C52 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.5% C 0.105 H 157.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#287C52
RGBrgb(40, 124, 82)
HSLhsl(150, 51%, 32%)
HSVhsv(150, 68%, 49%)
CMYKcmyk(67.7%, 0%, 33.9%, 51.4%)
CIE-LABlab(46.28, -35.55, 15.77)
CIE-LCHlch(46.28, 38.89, 156.07°)
OKLaboklab(52.46% -0.0966 0.0398)
OKLCHoklch(52.46% 0.105 157.6)
XYZxyz(9.6048, 15.4746, 10.4617)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C52 #7C2852
analogous
#287C28 #287C52 #287C7C
triadic
#287C52 #52287C #7C5228
tetradic
#287C52 #28287C #7C2852 #7C7C28
square
#287C52 #28287C #7C2852 #7C7C28
split-complementary
#287C52 #7C287C #7C2828
monochromatic
#0A1F15 #194E33 #287C52 #37AA71 #56C88F

Accessibility & contrast

On white

5.13
#287C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#287C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C52
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C52#FFFFFF#000000##FFFFFF
##287C521.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724F
Deuteranopia (green-blind)
#706A55
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287c52;
/* rgb */ color: rgb(40, 124, 82);
/* oklch */ color: oklch(52.5% 0.105 157.6);
Tailwind
colors: {
  custom: {
    50: '#6da383',
    500: '#287c52',
    950: '#000000',
  },
}
SCSS
$custom: #287c52;
$custom-light: #6da383;
$custom-dark: #000000;
JSON
{
  "hex": "#287c52",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 82
  },
  "hsl": {
    "h": 150,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.10452,
    "h": 157.6
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#287C52
secondary
#AD5280
accent
#4D94DB
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #287C52

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

Preview Lab → · Contrast checker → · Palette generator →

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