#287162#287162

#287162 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.9% C 0.076 H 177.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#287162
RGBrgb(40, 113, 98)
HSLhsl(168, 48%, 30%)
HSVhsv(168, 65%, 44%)
CMYKcmyk(64.6%, 0%, 13.3%, 55.7%)
CIE-LABlab(42.98, -26.45, 1.67)
CIE-LCHlch(42.98, 26.50, 176.39°)
OKLaboklab(49.89% -0.0758 0.004)
OKLCHoklch(49.89% 0.076 177)
XYZxyz(8.9838, 13.1423, 13.6162)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287162 #712837
analogous
#28713D #287162 #285C71
triadic
#287162 #622871 #716228
tetradic
#287162 #3D2871 #712837 #5C7128
square
#287162 #3D2871 #712837 #5C7128
split-complementary
#287162 #71285C #713D28
monochromatic
#081714 #18443B #287162 #389E89 #52C2AB

Accessibility & contrast

On white

5.79
#287162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#287162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287162
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287162#FFFFFF#000000##FFFFFF
##2871621.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6A61
Deuteranopia (green-blind)
#626263
Tritanopia (blue-blind)
#00736C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287162;
/* rgb */ color: rgb(40, 113, 98);
/* oklch */ color: oklch(49.9% 0.076 177.0);
Tailwind
colors: {
  custom: {
    50: '#6b9a8e',
    500: '#287162',
    950: '#000000',
  },
}
SCSS
$custom: #287162;
$custom-light: #6b9a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#287162",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 98
  },
  "hsl": {
    "h": 167.671,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.07596,
    "h": 177
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#287162
secondary
#A35262
accent
#506CD7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #287162

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

Preview Lab → · Contrast checker → · Palette generator →

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