#286F5F#286F5F

#286F5F is a mid, moderate teal. Relative luminance 0.126; OKLCH L 49.2% C 0.075 H 175.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#286F5F
RGBrgb(40, 111, 95)
HSLhsl(166, 47%, 30%)
HSVhsv(166, 64%, 44%)
CMYKcmyk(64%, 0%, 14.4%, 56.5%)
CIE-LABlab(42.22, -26.29, 2.38)
CIE-LCHlch(42.22, 26.39, 174.82°)
OKLaboklab(49.25% -0.075 0.0059)
OKLCHoklch(49.25% 0.075 175.5)
XYZxyz(8.6241, 12.6453, 12.8106)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F5F #6F2838
analogous
#286F3C #286F5F #285C6F
triadic
#286F5F #5F286F #6F5F28
tetradic
#286F5F #3C286F #6F2838 #5C6F28
square
#286F5F #3C286F #6F2838 #5C6F28
split-complementary
#286F5F #6F285C #6F3C28
monochromatic
#081613 #184238 #286F5F #389C86 #51C0A7

Accessibility & contrast

On white

5.95
#286F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#286F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##286F5F#FFFFFF#000000##FFFFFF
##286F5F1.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)
#6B685E
Deuteranopia (green-blind)
#616160
Tritanopia (blue-blind)
#00706A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #286f5f;
/* rgb */ color: rgb(40, 111, 95);
/* oklch */ color: oklch(49.2% 0.075 175.5);
Tailwind
colors: {
  custom: {
    50: '#6b998c',
    500: '#286f5f',
    950: '#000000',
  },
}
SCSS
$custom: #286f5f;
$custom-light: #6b998c;
$custom-dark: #000000;
JSON
{
  "hex": "#286f5f",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 95
  },
  "hsl": {
    "h": 166.479,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.07525,
    "h": 175.5
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#286F5F
secondary
#A15163
accent
#516FD7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #286F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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