#285A42#285A42

#285A42 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.5% C 0.068 H 160.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#285A42
RGBrgb(40, 90, 66)
HSLhsl(151, 38%, 25%)
HSVhsv(151, 56%, 35%)
CMYKcmyk(55.6%, 0%, 26.7%, 64.7%)
CIE-LABlab(34.31, -23.28, 8.82)
CIE-LCHlch(34.31, 24.89, 159.24°)
OKLaboklab(42.55% -0.0641 0.0226)
OKLCHoklch(42.55% 0.068 160.6)
XYZxyz(5.5141, 8.1563, 6.4369)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A42 #5A2840
analogous
#285A29 #285A42 #28595A
triadic
#285A42 #42285A #5A4228
tetradic
#285A42 #29285A #5A2840 #595A28
square
#285A42 #29285A #5A2840 #595A28
split-complementary
#285A42 #5A2859 #5A2928
monochromatic
#091510 #153023 #285A42 #3B8461 #4EAF80

Accessibility & contrast

On white

7.98
#285A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#285A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A42
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A42#FFFFFF#000000##FFFFFF
##285A421.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595441
Deuteranopia (green-blind)
#524F43
Tritanopia (blue-blind)
#185A53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285a42;
/* rgb */ color: rgb(40, 90, 66);
/* oklch */ color: oklch(42.5% 0.068 160.6);
Tailwind
colors: {
  custom: {
    50: '#668976',
    500: '#285a42',
    950: '#000000',
  },
}
SCSS
$custom: #285a42;
$custom-light: #668976;
$custom-dark: #000000;
JSON
{
  "hex": "#285a42",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 151.2,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.42546,
    "c": 0.06797,
    "h": 160.6
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#285A42
secondary
#8D516E
accent
#5992CE
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #285A42

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

Preview Lab → · Contrast checker → · Palette generator →

#285A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva