#12422B#12422B

#12422B is a dark, moderate teal. Relative luminance 0.042; OKLCH L 34.0% C 0.066 H 158.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#12422B
RGBrgb(18, 66, 43)
HSLhsl(151, 57%, 16%)
HSVhsv(151, 73%, 26%)
CMYKcmyk(72.7%, 0%, 34.8%, 74.1%)
CIE-LABlab(24.32, -22.49, 9.40)
CIE-LCHlch(24.32, 24.38, 157.32°)
OKLaboklab(33.98% -0.0613 0.0238)
OKLCHoklch(33.98% 0.066 158.8)
XYZxyz(2.6335, 4.1992, 2.9568)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12422B #421229
analogous
#124213 #12422B #124142
triadic
#12422B #2B1242 #422B12
tetradic
#12422B #131242 #421229 #414212
square
#12422B #131242 #421229 #414212
split-complementary
#12422B #421241 #421312
monochromatic
#071810 #071810 #12422B #1F724A #2CA26A

Accessibility & contrast

On white

11.41
#12422B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#12422B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12422B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12422B#FFFFFF#000000##FFFFFF
##12422B1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2A
Deuteranopia (green-blind)
#3B382C
Tritanopia (blue-blind)
#00423C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12422b;
/* rgb */ color: rgb(18, 66, 43);
/* oklch */ color: oklch(34.0% 0.066 158.8);
Tailwind
colors: {
  custom: {
    50: '#577764',
    500: '#12422b',
    950: '#000000',
  },
}
SCSS
$custom: #12422b;
$custom-light: #577764;
$custom-dark: #000000;
JSON
{
  "hex": "#12422b",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 43
  },
  "hsl": {
    "h": 151.25,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33976,
    "c": 0.06577,
    "h": 158.8
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#12422B
secondary
#7B3556
accent
#4791E0
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #12422B

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

Preview Lab → · Contrast checker → · Palette generator →

#12422B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva