#287052#287052

#287052 is a mid, moderate teal. Relative luminance 0.126; OKLCH L 49.1% C 0.087 H 162.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#287052
RGBrgb(40, 112, 82)
HSLhsl(155, 47%, 30%)
HSVhsv(155, 64%, 44%)
CMYKcmyk(64.3%, 0%, 26.8%, 56.1%)
CIE-LABlab(42.23, -30.13, 10.19)
CIE-LCHlch(42.23, 31.80, 161.32°)
OKLaboklab(49.14% -0.0829 0.026)
OKLCHoklch(49.14% 0.087 162.6)
XYZxyz(8.1914, 12.6478, 9.9906)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287052 #702846
analogous
#28702E #287052 #286A70
triadic
#287052 #522870 #705228
tetradic
#287052 #2E2870 #702846 #6A7028
square
#287052 #2E2870 #702846 #6A7028
split-complementary
#287052 #70286A #702E28
monochromatic
#081711 #184331 #287052 #389D73 #51C193

Accessibility & contrast

On white

5.95
#287052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#287052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287052
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287052#FFFFFF#000000##FFFFFF
##2870521.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6850
Deuteranopia (green-blind)
#646154
Tritanopia (blue-blind)
#007068
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287052;
/* rgb */ color: rgb(40, 112, 82);
/* oklch */ color: oklch(49.1% 0.087 162.6);
Tailwind
colors: {
  custom: {
    50: '#6a9982',
    500: '#287052',
    950: '#000000',
  },
}
SCSS
$custom: #287052;
$custom-light: #6a9982;
$custom-dark: #000000;
JSON
{
  "hex": "#287052",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 82
  },
  "hsl": {
    "h": 155,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.08687,
    "h": 162.6
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#287052
secondary
#A25173
accent
#5189D7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #287052

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

Preview Lab → · Contrast checker → · Palette generator →

#287052 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva