#285642#285642

#285642 is a dark, moderate teal. Relative luminance 0.075; OKLCH L 41.4% C 0.061 H 163.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#285642
RGBrgb(40, 86, 66)
HSLhsl(154, 37%, 25%)
HSVhsv(154, 53%, 34%)
CMYKcmyk(53.5%, 0%, 23.3%, 66.3%)
CIE-LABlab(32.92, -21.21, 6.87)
CIE-LCHlch(32.92, 22.30, 162.05°)
OKLaboklab(41.42% -0.0589 0.0176)
OKLCHoklch(41.42% 0.061 163.3)
XYZxyz(5.1858, 7.4996, 6.3275)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285642 #56283C
analogous
#28562B #285642 #285356
triadic
#285642 #422856 #564228
tetradic
#285642 #2B2856 #56283C #535628
square
#285642 #2B2856 #56283C #535628
split-complementary
#285642 #562853 #562B28
monochromatic
#0A1510 #152C22 #285642 #3B8062 #4FAA82

Accessibility & contrast

On white

8.40
#285642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#285642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285642
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285642#FFFFFF#000000##FFFFFF
##2856421.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555041
Deuteranopia (green-blind)
#4E4B43
Tritanopia (blue-blind)
#195650
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #285642;
/* rgb */ color: rgb(40, 86, 66);
/* oklch */ color: oklch(41.4% 0.061 163.3);
Tailwind
colors: {
  custom: {
    50: '#668676',
    500: '#285642',
    950: '#000000',
  },
}
SCSS
$custom: #285642;
$custom-light: #668676;
$custom-dark: #000000;
JSON
{
  "hex": "#285642",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 66
  },
  "hsl": {
    "h": 153.913,
    "s": 36.508,
    "l": 24.706
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.06144,
    "h": 163.3
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#285642
secondary
#895169
accent
#5B8DCD
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #285642

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

Preview Lab → · Contrast checker → · Palette generator →

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