#12543B#12543B

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

Color values

HEX#12543B
RGBrgb(18, 84, 59)
HSLhsl(157, 65%, 20%)
HSVhsv(157, 79%, 33%)
CMYKcmyk(78.6%, 0%, 29.8%, 67.1%)
CIE-LABlab(31.31, -27.04, 8.89)
CIE-LCHlch(31.31, 28.46, 161.79°)
OKLaboklab(39.84% -0.0741 0.0227)
OKLCHoklch(39.84% 0.077 163)
XYZxyz(4.2087, 6.7845, 5.2246)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12543B #54122B
analogous
#12541A #12543B #124C54
triadic
#12543B #3B1254 #543B12
tetradic
#12543B #1A1254 #54122B #4C5412
square
#12543B #1A1254 #54122B #4C5412
split-complementary
#12543B #54124C #541A12
monochromatic
#051912 #072218 #12543B #1D865E #28B982

Accessibility & contrast

On white

8.91
#12543B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12543B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12543B#FFFFFF#000000##FFFFFF
##12543B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12543b;
/* rgb */ color: rgb(18, 84, 59);
/* oklch */ color: oklch(39.8% 0.077 163.0);
Tailwind
colors: {
  custom: {
    50: '#5b8571',
    500: '#12543b',
    950: '#000000',
  },
}
SCSS
$custom: #12543b;
$custom-light: #5b8571;
$custom-dark: #000000;
JSON
{
  "hex": "#12543b",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 59
  },
  "hsl": {
    "h": 157.273,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.07747,
    "h": 163
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#12543B
secondary
#8D3556
accent
#4080E8
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #12543B

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

Preview Lab → · Contrast checker → · Palette generator →

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