#12543F#12543F

#12543F is a dark, moderate teal. Relative luminance 0.068; OKLCH L 40.0% C 0.074 H 166.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#12543F
RGBrgb(18, 84, 63)
HSLhsl(161, 65%, 20%)
HSVhsv(161, 79%, 33%)
CMYKcmyk(78.6%, 0%, 25%, 67.1%)
CIE-LABlab(31.41, -25.97, 6.53)
CIE-LCHlch(31.41, 26.78, 165.89°)
OKLaboklab(39.96% -0.0719 0.0167)
OKLCHoklch(39.96% 0.074 166.9)
XYZxyz(4.3165, 6.8276, 5.7920)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12543F #541227
analogous
#12541E #12543F #124854
triadic
#12543F #3F1254 #543F12
tetradic
#12543F #1E1254 #541227 #485412
square
#12543F #1E1254 #541227 #485412
split-complementary
#12543F #541248 #541E12
monochromatic
#051913 #072219 #12543F #1D8665 #28B98B

Accessibility & contrast

On white

8.88
#12543F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#12543F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12543F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12543F#FFFFFF#000000##FFFFFF
##12543F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3E
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#00544E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12543f;
/* rgb */ color: rgb(18, 84, 63);
/* oklch */ color: oklch(40.0% 0.074 166.9);
Tailwind
colors: {
  custom: {
    50: '#5b8574',
    500: '#12543f',
    950: '#000000',
  },
}
SCSS
$custom: #12543f;
$custom-light: #5b8574;
$custom-dark: #000000;
JSON
{
  "hex": "#12543f",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 63
  },
  "hsl": {
    "h": 160.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39957,
    "c": 0.07379,
    "h": 166.9
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#12543F
secondary
#8D3551
accent
#4075E8
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #12543F

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

Preview Lab → · Contrast checker → · Palette generator →

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