#283836#283836

#283836 is a dark, muted teal. Relative luminance 0.035; OKLCH L 32.6% C 0.021 H 186.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#283836
RGBrgb(40, 56, 54)
HSLhsl(173, 17%, 19%)
HSVhsv(173, 29%, 22%)
CMYKcmyk(28.6%, 0%, 3.6%, 78%)
CIE-LABlab(22.11, -7.04, -0.88)
CIE-LCHlch(22.11, 7.10, 187.13°)
OKLaboklab(32.59% -0.0211 -0.0025)
OKLCHoklch(32.59% 0.021 186.7)
XYZxyz(2.9549, 3.5457, 4.0180)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283836 #38282A
analogous
#28382E #283836 #283238
triadic
#283836 #362838 #383628
tetradic
#283836 #2E2838 #38282A #323828
square
#283836 #2E2838 #38282A #323828
split-complementary
#283836 #382832 #382E28
monochromatic
#0D1211 #0F1414 #283836 #425C58 #5B7F7B

Accessibility & contrast

On white

12.29
#283836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#283836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283836
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283836#FFFFFF#000000##FFFFFF
##2838361.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363636
Deuteranopia (green-blind)
#333436
Tritanopia (blue-blind)
#233937
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283836;
/* rgb */ color: rgb(40, 56, 54);
/* oklch */ color: oklch(32.6% 0.021 186.7);
Tailwind
colors: {
  custom: {
    50: '#626e6c',
    500: '#283836',
    950: '#000000',
  },
}
SCSS
$custom: #283836;
$custom-light: #626e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#283836",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 54
  },
  "hsl": {
    "h": 172.5,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32589,
    "c": 0.02124,
    "h": 186.7
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#283836
secondary
#695356
accent
#6E78B9
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050707
muted
#797A7A

Preview Lab

Preview with #283836

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

Preview Lab → · Contrast checker → · Palette generator →

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