#12523C#12523C

#12523C is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.3% C 0.074 H 165.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#12523C
RGBrgb(18, 82, 60)
HSLhsl(159, 64%, 20%)
HSVhsv(159, 78%, 32%)
CMYKcmyk(78%, 0%, 26.8%, 67.8%)
CIE-LABlab(30.61, -25.83, 7.29)
CIE-LCHlch(30.61, 26.84, 164.23°)
OKLaboklab(39.28% -0.0712 0.0186)
OKLCHoklch(39.28% 0.074 165.3)
XYZxyz(4.0819, 6.4890, 5.3115)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12523C #521228
analogous
#12521C #12523C #124852
triadic
#12523C #3C1252 #523C12
tetradic
#12523C #1C1252 #521228 #485212
square
#12523C #1C1252 #521228 #485212
split-complementary
#12523C #521248 #521C12
monochromatic
#061912 #072017 #12523C #1D8461 #28B685

Accessibility & contrast

On white

9.14
#12523C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12523C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12523C#FFFFFF#000000##FFFFFF
##12523C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12523c;
/* rgb */ color: rgb(18, 82, 60);
/* oklch */ color: oklch(39.3% 0.074 165.3);
Tailwind
colors: {
  custom: {
    50: '#5b8371',
    500: '#12523c',
    950: '#000000',
  },
}
SCSS
$custom: #12523c;
$custom-light: #5b8371;
$custom-dark: #000000;
JSON
{
  "hex": "#12523c",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 60
  },
  "hsl": {
    "h": 159.375,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39278,
    "c": 0.07359,
    "h": 165.3
  },
  "luminance": 0.06489
}

Semantic roles & 50–950 ramp

primary
#12523C
secondary
#8B3552
accent
#417AE7
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #12523C

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

Preview Lab → · Contrast checker → · Palette generator →

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