#12513F#12513F

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

Color values

HEX#12513F
RGBrgb(18, 81, 63)
HSLhsl(163, 64%, 19%)
HSVhsv(163, 78%, 32%)
CMYKcmyk(77.8%, 0%, 22.2%, 68.2%)
CIE-LABlab(30.33, -24.51, 5.00)
CIE-LCHlch(30.33, 25.02, 168.48°)
OKLaboklab(39.07% -0.0684 0.0128)
OKLCHoklch(39.07% 0.07 169.4)
XYZxyz(4.0886, 6.3719, 5.7161)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12513F #511224
analogous
#125120 #12513F #124451
triadic
#12513F #3F1251 #513F12
tetradic
#12513F #201251 #511224 #445112
square
#12513F #201251 #511224 #445112
split-complementary
#12513F #511244 #512012
monochromatic
#061913 #071F18 #12513F #1D8366 #28B58D

Accessibility & contrast

On white

9.23
#12513F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12513F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12513F#FFFFFF#000000##FFFFFF
##12513F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B3E
Deuteranopia (green-blind)
#464540
Tritanopia (blue-blind)
#00524C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12513f;
/* rgb */ color: rgb(18, 81, 63);
/* oklch */ color: oklch(39.1% 0.070 169.4);
Tailwind
colors: {
  custom: {
    50: '#5b8274',
    500: '#12513f',
    950: '#000000',
  },
}
SCSS
$custom: #12513f;
$custom-light: #5b8274;
$custom-dark: #000000;
JSON
{
  "hex": "#12513f",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 63
  },
  "hsl": {
    "h": 162.857,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39072,
    "c": 0.06954,
    "h": 169.4
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#12513F
secondary
#8A354D
accent
#4170E7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #12513F

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

Preview Lab → · Contrast checker → · Palette generator →

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