#284A46#284A46

#284A46 is a dark, muted teal. Relative luminance 0.058; OKLCH L 38.2% C 0.040 H 186.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#284A46
RGBrgb(40, 74, 70)
HSLhsl(173, 30%, 22%)
HSVhsv(173, 46%, 29%)
CMYKcmyk(45.9%, 0%, 5.4%, 71%)
CIE-LABlab(28.88, -13.51, -1.50)
CIE-LCHlch(28.88, 13.60, 186.31°)
OKLaboklab(38.19% -0.0403 -0.0042)
OKLCHoklch(38.19% 0.04 186)
XYZxyz(4.4289, 5.7905, 6.6775)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A46 #4A282C
analogous
#284A35 #284A46 #283D4A
triadic
#284A46 #46284A #4A4628
tetradic
#284A46 #35284A #4A282C #3D4A28
square
#284A46 #35284A #4A282C #3D4A28
split-complementary
#284A46 #4A283D #4A3528
monochromatic
#0B1413 #132220 #284A46 #3D726C #539991

Accessibility & contrast

On white

9.73
#284A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#284A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A46
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A46#FFFFFF#000000##FFFFFF
##284A461.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474746
Deuteranopia (green-blind)
#414246
Tritanopia (blue-blind)
#1A4B49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284a46;
/* rgb */ color: rgb(40, 74, 70);
/* oklch */ color: oklch(38.2% 0.040 186.0);
Tailwind
colors: {
  custom: {
    50: '#647c79',
    500: '#284a46',
    950: '#000000',
  },
}
SCSS
$custom: #284a46;
$custom-light: #647c79;
$custom-dark: #000000;
JSON
{
  "hex": "#284a46",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 70
  },
  "hsl": {
    "h": 172.941,
    "s": 29.825,
    "l": 22.353
  },
  "oklch": {
    "l": 0.38187,
    "c": 0.04049,
    "h": 186
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#284A46
secondary
#7C5156
accent
#626EC6
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#050909
muted
#7A7B7B

Preview Lab

Preview with #284A46

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

Preview Lab → · Contrast checker → · Palette generator →

#284A46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva