#28342E#28342E

#28342E is a dark, near-neutral teal. Relative luminance 0.031; OKLCH L 31.2% C 0.019 H 163.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#28342E
RGBrgb(40, 52, 46)
HSLhsl(150, 13%, 18%)
HSVhsv(150, 23%, 20%)
CMYKcmyk(23.1%, 0%, 11.5%, 79.6%)
CIE-LABlab(20.46, -6.56, 2.14)
CIE-LCHlch(20.46, 6.90, 161.95°)
OKLaboklab(31.19% -0.0186 0.0055)
OKLCHoklch(31.19% 0.019 163.4)
XYZxyz(2.5961, 3.1043, 3.0466)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28342E #34282E
analogous
#283428 #28342E #283434
triadic
#28342E #2E2834 #342E28
tetradic
#28342E #282834 #34282E #343428
square
#28342E #282834 #34282E #343428
split-complementary
#28342E #342834 #342828
monochromatic
#0D110F #0D110F #28342E #43574D #5D796B

Accessibility & contrast

On white

12.96
#28342E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#28342E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28342E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28342E#FFFFFF#000000##FFFFFF
##28342E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322E
Deuteranopia (green-blind)
#31312E
Tritanopia (blue-blind)
#263432
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28342e;
/* rgb */ color: rgb(40, 52, 46);
/* oklch */ color: oklch(31.2% 0.019 163.4);
Tailwind
colors: {
  custom: {
    50: '#626b66',
    500: '#28342e',
    950: '#000000',
  },
}
SCSS
$custom: #28342e;
$custom-light: #626b66;
$custom-dark: #000000;
JSON
{
  "hex": "#28342e",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 150,
    "s": 13.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.31187,
    "c": 0.01939,
    "h": 163.4
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#28342E
secondary
#64545C
accent
#7294B6
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #28342E

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

Preview Lab → · Contrast checker → · Palette generator →

#28342E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva