#28342F#28342F

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

Color values

HEX#28342F
RGBrgb(40, 52, 47)
HSLhsl(155, 13%, 18%)
HSVhsv(155, 23%, 20%)
CMYKcmyk(23.1%, 0%, 9.6%, 79.6%)
CIE-LABlab(20.49, -6.31, 1.50)
CIE-LCHlch(20.49, 6.49, 166.61°)
OKLaboklab(31.22% -0.018 0.0039)
OKLCHoklch(31.22% 0.018 167.9)
XYZxyz(2.6160, 3.1123, 3.1517)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28342F #34282D
analogous
#283429 #28342F #283334
triadic
#28342F #2F2834 #342F28
tetradic
#28342F #292834 #34282D #333428
square
#28342F #292834 #34282D #333428
split-complementary
#28342F #342833 #342928
monochromatic
#0D1110 #0D1110 #28342F #43574E #5D796E

Accessibility & contrast

On white

12.94
#28342F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28342F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28342F#FFFFFF#000000##FFFFFF
##28342F1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322F
Deuteranopia (green-blind)
#31312F
Tritanopia (blue-blind)
#253432
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28342f;
/* rgb */ color: rgb(40, 52, 47);
/* oklch */ color: oklch(31.2% 0.018 167.9);
Tailwind
colors: {
  custom: {
    50: '#626b67',
    500: '#28342f',
    950: '#000000',
  },
}
SCSS
$custom: #28342f;
$custom-light: #626b67;
$custom-dark: #000000;
JSON
{
  "hex": "#28342f",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 155,
    "s": 13.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.31222,
    "c": 0.01846,
    "h": 167.9
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#28342F
secondary
#64545B
accent
#728EB6
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #28342F

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

Preview Lab → · Contrast checker → · Palette generator →

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