#287D68#287D68

#287D68 is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.3% C 0.087 H 173.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#287D68
RGBrgb(40, 125, 104)
HSLhsl(165, 52%, 32%)
HSVhsv(165, 68%, 49%)
CMYKcmyk(68%, 0%, 16.8%, 51%)
CIE-LABlab(47.13, -30.63, 4.10)
CIE-LCHlch(47.13, 30.90, 172.38°)
OKLaboklab(53.32% -0.0866 0.0104)
OKLCHoklch(53.32% 0.087 173.2)
XYZxyz(10.7061, 16.1167, 15.6406)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D68 #7D283D
analogous
#287D3D #287D68 #28687D
triadic
#287D68 #68287D #7D6828
tetradic
#287D68 #3D287D #7D283D #687D28
square
#287D68 #3D287D #7D283D #687D28
split-complementary
#287D68 #7D2868 #7D3D28
monochromatic
#0A201B #194F41 #287D68 #37AB8F #56C9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287D68#FFFFFF#000000##FFFFFF
##287D681.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)
#797567
Deuteranopia (green-blind)
#6D6C69
Tritanopia (blue-blind)
#007E77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #287d68;
/* rgb */ color: rgb(40, 125, 104);
/* oklch */ color: oklch(53.3% 0.087 173.2);
Tailwind
colors: {
  custom: {
    50: '#6da393',
    500: '#287d68',
    950: '#000000',
  },
}
SCSS
$custom: #287d68;
$custom-light: #6da393;
$custom-dark: #000000;
JSON
{
  "hex": "#287d68",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 104
  },
  "hsl": {
    "h": 165.176,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.08721,
    "h": 173.2
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#287D68
secondary
#AE5369
accent
#4D70DB
background
#F6FAF9
surface
#ECF4F1
border
#C7CECB
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #287D68

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

Preview Lab → · Contrast checker → · Palette generator →

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