#283A38#283A38

#283A38 is a dark, muted teal. Relative luminance 0.038; OKLCH L 33.2% C 0.024 H 187.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#283A38
RGBrgb(40, 58, 56)
HSLhsl(173, 18%, 19%)
HSVhsv(173, 31%, 23%)
CMYKcmyk(31%, 0%, 3.4%, 77.3%)
CIE-LABlab(22.87, -7.76, -1.11)
CIE-LCHlch(22.87, 7.84, 188.12°)
OKLaboklab(33.22% -0.0233 -0.0031)
OKLCHoklch(33.22% 0.024 187.5)
XYZxyz(3.1017, 3.7626, 4.3034)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A38 #3A282A
analogous
#283A2F #283A38 #28333A
triadic
#283A38 #38283A #3A3828
tetradic
#283A38 #2F283A #3A282A #333A28
square
#283A38 #2F283A #3A282A #333A28
split-complementary
#283A38 #3A2833 #3A2F28
monochromatic
#0C1211 #0F1615 #283A38 #415E5B #5A827E

Accessibility & contrast

On white

11.98
#283A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#283A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A38
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A38#FFFFFF#000000##FFFFFF
##283A381.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383838
Deuteranopia (green-blind)
#353638
Tritanopia (blue-blind)
#223B39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283a38;
/* rgb */ color: rgb(40, 58, 56);
/* oklch */ color: oklch(33.2% 0.024 187.5);
Tailwind
colors: {
  custom: {
    50: '#62706e',
    500: '#283a38',
    950: '#000000',
  },
}
SCSS
$custom: #283a38;
$custom-light: #62706e;
$custom-dark: #000000;
JSON
{
  "hex": "#283a38",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 56
  },
  "hsl": {
    "h": 173.333,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.33219,
    "c": 0.02352,
    "h": 187.5
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#283A38
secondary
#6B5355
accent
#6D75BB
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050707
muted
#797A7A

Preview Lab

Preview with #283A38

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

Preview Lab → · Contrast checker → · Palette generator →

#283A38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva