#286F5A#286F5A

#286F5A is a mid, moderate teal. Relative luminance 0.126; OKLCH L 49.1% C 0.079 H 170.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#286F5A
RGBrgb(40, 111, 90)
HSLhsl(162, 47%, 30%)
HSVhsv(162, 64%, 44%)
CMYKcmyk(64%, 0%, 18.9%, 56.5%)
CIE-LABlab(42.09, -27.63, 5.20)
CIE-LCHlch(42.09, 28.11, 169.34°)
OKLaboklab(49.09% -0.0776 0.0133)
OKLCHoklch(49.09% 0.079 170.3)
XYZxyz(8.4041, 12.5573, 11.6518)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F5A #6F283D
analogous
#286F37 #286F5A #28616F
triadic
#286F5A #5A286F #6F5A28
tetradic
#286F5A #37286F #6F283D #616F28
square
#286F5A #37286F #6F283D #616F28
split-complementary
#286F5A #6F2861 #6F3728
monochromatic
#081612 #184236 #286F5A #389C7E #51C09F

Accessibility & contrast

On white

5.98
#286F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#286F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F5A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F5A#FFFFFF#000000##FFFFFF
##286F5A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6859
Deuteranopia (green-blind)
#62605B
Tritanopia (blue-blind)
#007069
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #286f5a;
/* rgb */ color: rgb(40, 111, 90);
/* oklch */ color: oklch(49.1% 0.079 170.3);
Tailwind
colors: {
  custom: {
    50: '#6a9988',
    500: '#286f5a',
    950: '#000000',
  },
}
SCSS
$custom: #286f5a;
$custom-light: #6a9988;
$custom-dark: #000000;
JSON
{
  "hex": "#286f5a",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 90
  },
  "hsl": {
    "h": 162.254,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49089,
    "c": 0.0787,
    "h": 170.3
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#286F5A
secondary
#A15169
accent
#5179D7
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #286F5A

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

Preview Lab → · Contrast checker → · Palette generator →

#286F5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva