#284840#284840

#284840 is a dark, muted teal. Relative luminance 0.055; OKLCH L 37.4% C 0.041 H 176.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#284840
RGBrgb(40, 72, 64)
HSLhsl(165, 29%, 22%)
HSVhsv(165, 44%, 28%)
CMYKcmyk(44.4%, 0%, 11.1%, 71.8%)
CIE-LABlab(28.00, -14.03, 1.10)
CIE-LCHlch(28.00, 14.07, 175.52°)
OKLaboklab(37.41% -0.0405 0.0027)
OKLCHoklch(37.41% 0.041 176.2)
XYZxyz(4.1175, 5.4557, 5.6856)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284840 #482830
analogous
#284830 #284840 #284048
triadic
#284840 #402848 #484028
tetradic
#284840 #302848 #482830 #404828
square
#284840 #302848 #482830 #404828
split-complementary
#284840 #482840 #483028
monochromatic
#0B1411 #12211D #284840 #3E6F63 #549786

Accessibility & contrast

On white

10.04
#284840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#284840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284840
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284840#FFFFFF#000000##FFFFFF
##2848401.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464440
Deuteranopia (green-blind)
#404041
Tritanopia (blue-blind)
#1D4946
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284840;
/* rgb */ color: rgb(40, 72, 64);
/* oklch */ color: oklch(37.4% 0.041 176.2);
Tailwind
colors: {
  custom: {
    50: '#647b74',
    500: '#284840',
    950: '#000000',
  },
}
SCSS
$custom: #284840;
$custom-light: #647b74;
$custom-dark: #000000;
JSON
{
  "hex": "#284840",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 165,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.37414,
    "c": 0.04059,
    "h": 176.2
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#284840
secondary
#7A525C
accent
#637BC5
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#050908
muted
#7A7B7B

Preview Lab

Preview with #284840

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

Preview Lab → · Contrast checker → · Palette generator →

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