#12543C#12543C

#12543C is a dark, moderate teal. Relative luminance 0.068; OKLCH L 39.9% C 0.077 H 163.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#12543C
RGBrgb(18, 84, 60)
HSLhsl(158, 65%, 20%)
HSVhsv(158, 79%, 33%)
CMYKcmyk(78.6%, 0%, 28.6%, 67.1%)
CIE-LABlab(31.34, -26.78, 8.30)
CIE-LCHlch(31.34, 28.03, 162.77°)
OKLaboklab(39.87% -0.0735 0.0212)
OKLCHoklch(39.87% 0.077 163.9)
XYZxyz(4.2349, 6.7950, 5.3625)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12543C #54122A
analogous
#12541B #12543C #124B54
triadic
#12543C #3C1254 #543C12
tetradic
#12543C #1B1254 #54122A #4B5412
square
#12543C #1B1254 #54122A #4B5412
split-complementary
#12543C #54124B #541B12
monochromatic
#051912 #072218 #12543C #1D8660 #28B984

Accessibility & contrast

On white

8.90
#12543C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#12543C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12543C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12543C#FFFFFF#000000##FFFFFF
##12543C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D3B
Deuteranopia (green-blind)
#4A473E
Tritanopia (blue-blind)
#00544D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12543c;
/* rgb */ color: rgb(18, 84, 60);
/* oklch */ color: oklch(39.9% 0.077 163.9);
Tailwind
colors: {
  custom: {
    50: '#5b8571',
    500: '#12543c',
    950: '#000000',
  },
}
SCSS
$custom: #12543c;
$custom-light: #5b8571;
$custom-dark: #000000;
JSON
{
  "hex": "#12543c",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 60
  },
  "hsl": {
    "h": 158.182,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.07652,
    "h": 163.9
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#12543C
secondary
#8D3555
accent
#407DE8
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #12543C

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

Preview Lab → · Contrast checker → · Palette generator →

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