#12452C#12452C

#12452C is a dark, moderate teal. Relative luminance 0.046; OKLCH L 34.9% C 0.070 H 158.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#12452C
RGBrgb(18, 69, 44)
HSLhsl(151, 59%, 17%)
HSVhsv(151, 74%, 27%)
CMYKcmyk(73.9%, 0%, 36.2%, 72.9%)
CIE-LABlab(25.46, -23.71, 10.32)
CIE-LCHlch(25.46, 25.86, 156.48°)
OKLaboklab(34.92% -0.0645 0.0261)
OKLCHoklch(34.92% 0.07 158)
XYZxyz(2.8319, 4.5664, 3.1145)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12452C #45122B
analogous
#124512 #12452C #124545
triadic
#12452C #2C1245 #452C12
tetradic
#12452C #121245 #45122B #454512
square
#12452C #121245 #45122B #454512
split-complementary
#12452C #451245 #451212
monochromatic
#06180F #06180F #12452C #1F764B #2BA66A

Accessibility & contrast

On white

10.98
#12452C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#12452C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12452C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12452C#FFFFFF#000000##FFFFFF
##12452C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2A
Deuteranopia (green-blind)
#3E3A2E
Tritanopia (blue-blind)
#00443E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12452c;
/* rgb */ color: rgb(18, 69, 44);
/* oklch */ color: oklch(34.9% 0.070 158.0);
Tailwind
colors: {
  custom: {
    50: '#577965',
    500: '#12452c',
    950: '#000000',
  },
}
SCSS
$custom: #12452c;
$custom-light: #577965;
$custom-dark: #000000;
JSON
{
  "hex": "#12452c",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 44
  },
  "hsl": {
    "h": 150.588,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34922,
    "c": 0.06955,
    "h": 158
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#12452C
secondary
#7E3559
accent
#4692E2
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #12452C

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

Preview Lab → · Contrast checker → · Palette generator →

#12452C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva