#284838#284838

#284838 is a dark, muted teal. Relative luminance 0.054; OKLCH L 37.2% C 0.047 H 161.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#284838
RGBrgb(40, 72, 56)
HSLhsl(150, 29%, 22%)
HSVhsv(150, 44%, 28%)
CMYKcmyk(44.4%, 0%, 22.2%, 71.8%)
CIE-LABlab(27.77, -16.11, 5.95)
CIE-LCHlch(27.77, 17.17, 159.73°)
OKLaboklab(37.15% -0.0447 0.0153)
OKLCHoklch(37.15% 0.047 161.1)
XYZxyz(3.9060, 5.3711, 4.5715)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284838 #482838
analogous
#284828 #284838 #284848
triadic
#284838 #382848 #483828
tetradic
#284838 #282848 #482838 #484828
square
#284838 #282848 #482838 #484828
split-complementary
#284838 #482848 #482828
monochromatic
#0B140F #122119 #284838 #3E6F57 #549775

Accessibility & contrast

On white

10.12
#284838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#284838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284838
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284838#FFFFFF#000000##FFFFFF
##2848381.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474437
Deuteranopia (green-blind)
#424039
Tritanopia (blue-blind)
#204843
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284838;
/* rgb */ color: rgb(40, 72, 56);
/* oklch */ color: oklch(37.2% 0.047 161.1);
Tailwind
colors: {
  custom: {
    50: '#647b6e',
    500: '#284838',
    950: '#000000',
  },
}
SCSS
$custom: #284838;
$custom-light: #647b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#284838",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 56
  },
  "hsl": {
    "h": 150,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.37154,
    "c": 0.04729,
    "h": 161.1
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#284838
secondary
#7A5266
accent
#6394C5
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#050907
muted
#7A7B7A

Preview Lab

Preview with #284838

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

Preview Lab → · Contrast checker → · Palette generator →

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