#284238#284238

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

Color values

HEX#284238
RGBrgb(40, 66, 56)
HSLhsl(157, 25%, 21%)
HSVhsv(157, 39%, 26%)
CMYKcmyk(39.4%, 0%, 15.2%, 74.1%)
CIE-LABlab(25.66, -12.65, 2.95)
CIE-LCHlch(25.66, 12.99, 166.88°)
OKLaboklab(35.46% -0.0358 0.0076)
OKLCHoklch(35.46% 0.037 168.1)
XYZxyz(3.5368, 4.6329, 4.4485)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284238 #422832
analogous
#28422B #284238 #283F42
triadic
#284238 #382842 #423828
tetradic
#284238 #2B2842 #422832 #3F4228
square
#284238 #2B2842 #422832 #3F4228
split-complementary
#284238 #42283F #422B28
monochromatic
#0C1310 #111C18 #284238 #3F6858 #568E79

Accessibility & contrast

On white

10.90
#284238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284238
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284238#FFFFFF#000000##FFFFFF
##2842381.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284238;
/* rgb */ color: rgb(40, 66, 56);
/* oklch */ color: oklch(35.5% 0.037 168.1);
Tailwind
colors: {
  custom: {
    50: '#63766e',
    500: '#284238',
    950: '#000000',
  },
}
SCSS
$custom: #284238;
$custom-light: #63766e;
$custom-dark: #000000;
JSON
{
  "hex": "#284238",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 156.923,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35456,
    "c": 0.03661,
    "h": 168.1
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#284238
secondary
#74525F
accent
#678AC1
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050807
muted
#797B7A

Preview Lab

Preview with #284238

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

Preview Lab → · Contrast checker → · Palette generator →

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