#12523B#12523B

#12523B is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.2% C 0.075 H 164.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#12523B
RGBrgb(18, 82, 59)
HSLhsl(158, 64%, 20%)
HSVhsv(158, 78%, 32%)
CMYKcmyk(78%, 0%, 28%, 67.8%)
CIE-LABlab(30.59, -26.09, 7.89)
CIE-LCHlch(30.59, 27.26, 163.18°)
OKLaboklab(39.25% -0.0717 0.0201)
OKLCHoklch(39.25% 0.075 164.3)
XYZxyz(4.0557, 6.4785, 5.1735)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12523B #521229
analogous
#12521B #12523B #124952
triadic
#12523B #3B1252 #523B12
tetradic
#12523B #1B1252 #521229 #495212
square
#12523B #1B1252 #521229 #495212
split-complementary
#12523B #521249 #521B12
monochromatic
#061912 #072017 #12523B #1D845F #28B683

Accessibility & contrast

On white

9.15
#12523B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#12523B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12523B
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12523B#FFFFFF#000000##FFFFFF
##12523B1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3A
Deuteranopia (green-blind)
#48463D
Tritanopia (blue-blind)
#00524C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12523b;
/* rgb */ color: rgb(18, 82, 59);
/* oklch */ color: oklch(39.2% 0.075 164.3);
Tailwind
colors: {
  custom: {
    50: '#5b8371',
    500: '#12523b',
    950: '#000000',
  },
}
SCSS
$custom: #12523b;
$custom-light: #5b8371;
$custom-dark: #000000;
JSON
{
  "hex": "#12523b",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 59
  },
  "hsl": {
    "h": 158.438,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39249,
    "c": 0.07451,
    "h": 164.3
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#12523B
secondary
#8B3554
accent
#417DE7
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #12523B

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

Preview Lab → · Contrast checker → · Palette generator →

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