#122828#122828

#122828 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.9% C 0.028 H 195.6°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#122828
RGBrgb(18, 40, 40)
HSLhsl(180, 38%, 11%)
HSVhsv(180, 55%, 16%)
CMYKcmyk(55%, 0%, 0%, 84.3%)
CIE-LABlab(14.40, -8.72, -2.73)
CIE-LCHlch(14.40, 9.13, 197.37°)
OKLaboklab(25.88% -0.027 -0.0075)
OKLCHoklch(25.88% 0.028 195.6)
XYZxyz(1.3911, 1.7993, 2.2811)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122828 #281212
analogous
#12281D #122828 #121D28
triadic
#122828 #281228 #282812
tetradic
#122828 #1D1228 #281212 #1D2812
square
#122828 #1D1228 #281212 #1D2812
split-complementary
#122828 #28121D #281D12
monochromatic
#091515 #091515 #122828 #255252 #387C7C

Accessibility & contrast

On white

15.44
#122828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#122828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122828
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122828#FFFFFF#000000##FFFFFF
##1228281.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#222328
Tritanopia (blue-blind)
#072928
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122828;
/* rgb */ color: rgb(18, 40, 40);
/* oklch */ color: oklch(25.9% 0.028 195.6);
Tailwind
colors: {
  custom: {
    50: '#526261',
    500: '#122828',
    950: '#000000',
  },
}
SCSS
$custom: #122828;
$custom-light: #526261;
$custom-dark: #000000;
JSON
{
  "hex": "#122828",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 180,
    "s": 37.931,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25876,
    "c": 0.02805,
    "h": 195.6
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#122828
secondary
#5F3737
accent
#5A5ACE
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020505
muted
#787979

Preview Lab

Preview with #122828

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

Preview Lab → · Contrast checker → · Palette generator →

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