#286A5F#286A5F

#286A5F is a mid, moderate teal. Relative luminance 0.116; OKLCH L 47.9% C 0.069 H 180.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#286A5F
RGBrgb(40, 106, 95)
HSLhsl(170, 45%, 29%)
HSVhsv(170, 62%, 42%)
CMYKcmyk(62.3%, 0%, 10.4%, 58.4%)
CIE-LABlab(40.55, -23.77, -0.05)
CIE-LCHlch(40.55, 23.77, 180.13°)
OKLaboklab(47.88% -0.0691 -0.0005)
OKLCHoklch(47.88% 0.069 180.4)
XYZxyz(8.0937, 11.5846, 12.6338)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A5F #6A2833
analogous
#286A3E #286A5F #28546A
triadic
#286A5F #5F286A #6A5F28
tetradic
#286A5F #3E286A #6A2833 #546A28
square
#286A5F #3E286A #6A2833 #546A28
split-complementary
#286A5F #6A2854 #6A3E28
monochromatic
#081614 #173E37 #286A5F #399687 #50BDAB

Accessibility & contrast

On white

6.33
#286A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#286A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A5F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A5F#FFFFFF#000000##FFFFFF
##286A5F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65645F
Deuteranopia (green-blind)
#5B5D60
Tritanopia (blue-blind)
#006C67
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286a5f;
/* rgb */ color: rgb(40, 106, 95);
/* oklch */ color: oklch(47.9% 0.069 180.4);
Tailwind
colors: {
  custom: {
    50: '#6a958c',
    500: '#286a5f',
    950: '#000000',
  },
}
SCSS
$custom: #286a5f;
$custom-light: #6a958c;
$custom-dark: #000000;
JSON
{
  "hex": "#286a5f",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 95
  },
  "hsl": {
    "h": 170,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47882,
    "c": 0.06907,
    "h": 180.4
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#286A5F
secondary
#9D515E
accent
#5369D5
background
#F6F9F8
surface
#EBF1F0
border
#C6CBCB
text
#070D0C
muted
#7A7E7D

Preview Lab

Preview with #286A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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