#12523F#12523F

#12523F is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.4% C 0.071 H 168.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#12523F
RGBrgb(18, 82, 63)
HSLhsl(162, 64%, 20%)
HSVhsv(162, 78%, 32%)
CMYKcmyk(78%, 0%, 23.2%, 67.8%)
CIE-LABlab(30.69, -25.00, 5.51)
CIE-LCHlch(30.69, 25.60, 167.58°)
OKLaboklab(39.37% -0.0695 0.0141)
OKLCHoklch(39.37% 0.071 168.6)
XYZxyz(4.1635, 6.5216, 5.7410)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12523F #521225
analogous
#12521F #12523F #124552
triadic
#12523F #3F1252 #523F12
tetradic
#12523F #1F1252 #521225 #455212
square
#12523F #1F1252 #521225 #455212
split-complementary
#12523F #521245 #521F12
monochromatic
#061913 #072018 #12523F #1D8466 #28B68C

Accessibility & contrast

On white

9.11
#12523F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12523F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12523F#FFFFFF#000000##FFFFFF
##12523F1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3E
Deuteranopia (green-blind)
#474640
Tritanopia (blue-blind)
#00524D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12523f;
/* rgb */ color: rgb(18, 82, 63);
/* oklch */ color: oklch(39.4% 0.071 168.6);
Tailwind
colors: {
  custom: {
    50: '#5b8374',
    500: '#12523f',
    950: '#000000',
  },
}
SCSS
$custom: #12523f;
$custom-light: #5b8374;
$custom-dark: #000000;
JSON
{
  "hex": "#12523f",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 63
  },
  "hsl": {
    "h": 162.188,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39367,
    "c": 0.07095,
    "h": 168.6
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#12523F
secondary
#8B354E
accent
#4172E7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #12523F

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

Preview Lab → · Contrast checker → · Palette generator →

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