#284239#284239

#284239 is a dark, muted teal. Relative luminance 0.046; OKLCH L 35.5% C 0.036 H 170.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#284239
RGBrgb(40, 66, 57)
HSLhsl(159, 25%, 21%)
HSVhsv(159, 39%, 26%)
CMYKcmyk(39.4%, 0%, 13.6%, 74.1%)
CIE-LABlab(25.69, -12.39, 2.33)
CIE-LCHlch(25.69, 12.61, 169.33°)
OKLaboklab(35.49% -0.0353 0.006)
OKLCHoklch(35.49% 0.036 170.4)
XYZxyz(3.5615, 4.6427, 4.5786)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284239 #422831
analogous
#28422C #284239 #283E42
triadic
#284239 #392842 #423928
tetradic
#284239 #2C2842 #422831 #3E4228
square
#284239 #2C2842 #422831 #3E4228
split-complementary
#284239 #42283E #422C28
monochromatic
#0C1310 #111C18 #284239 #3F685A #568E7B

Accessibility & contrast

On white

10.89
#284239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#284239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284239
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284239#FFFFFF#000000##FFFFFF
##2842391.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F39
Deuteranopia (green-blind)
#3C3C3A
Tritanopia (blue-blind)
#21423F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #284239;
/* rgb */ color: rgb(40, 66, 57);
/* oklch */ color: oklch(35.5% 0.036 170.4);
Tailwind
colors: {
  custom: {
    50: '#63766f',
    500: '#284239',
    950: '#000000',
  },
}
SCSS
$custom: #284239;
$custom-light: #63766f;
$custom-dark: #000000;
JSON
{
  "hex": "#284239",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 57
  },
  "hsl": {
    "h": 159.231,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3549,
    "c": 0.03579,
    "h": 170.4
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#284239
secondary
#74525E
accent
#6786C1
background
#F5F7F6
surface
#EAEDEC
border
#C6C8C7
text
#050807
muted
#797B7A

Preview Lab

Preview with #284239

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

Preview Lab → · Contrast checker → · Palette generator →

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