#12513E#12513E

#12513E is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.0% C 0.070 H 168.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#12513E
RGBrgb(18, 81, 62)
HSLhsl(162, 64%, 19%)
HSVhsv(162, 78%, 32%)
CMYKcmyk(77.8%, 0%, 23.5%, 68.2%)
CIE-LABlab(30.31, -24.79, 5.59)
CIE-LCHlch(30.31, 25.42, 167.29°)
OKLaboklab(39.04% -0.0689 0.0143)
OKLCHoklch(39.04% 0.07 168.3)
XYZxyz(4.0609, 6.3608, 5.5702)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12513E #511225
analogous
#12511F #12513E #124551
triadic
#12513E #3E1251 #513E12
tetradic
#12513E #1F1251 #511225 #455112
square
#12513E #1F1251 #511225 #455112
split-complementary
#12513E #511245 #511F12
monochromatic
#061913 #071F18 #12513E #1D8364 #28B58B

Accessibility & contrast

On white

9.24
#12513E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#12513E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12513E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12513E#FFFFFF#000000##FFFFFF
##12513E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B3D
Deuteranopia (green-blind)
#46453F
Tritanopia (blue-blind)
#00514C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12513e;
/* rgb */ color: rgb(18, 81, 62);
/* oklch */ color: oklch(39.0% 0.070 168.3);
Tailwind
colors: {
  custom: {
    50: '#5b8273',
    500: '#12513e',
    950: '#000000',
  },
}
SCSS
$custom: #12513e;
$custom-light: #5b8273;
$custom-dark: #000000;
JSON
{
  "hex": "#12513e",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 62
  },
  "hsl": {
    "h": 161.905,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39041,
    "c": 0.07038,
    "h": 168.3
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#12513E
secondary
#8A354F
accent
#4173E7
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #12513E

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

Preview Lab → · Contrast checker → · Palette generator →

#12513E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva