#12815E#12815E

#12815E is a mid, moderate teal. Relative luminance 0.166; OKLCH L 53.7% C 0.108 H 165.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#12815E
RGBrgb(18, 129, 94)
HSLhsl(161, 76%, 29%)
HSVhsv(161, 86%, 51%)
CMYKcmyk(86%, 0%, 27.1%, 49.4%)
CIE-LABlab(47.80, -38.02, 10.85)
CIE-LCHlch(47.80, 39.53, 164.07°)
OKLaboklab(53.67% -0.1044 0.0277)
OKLCHoklch(53.67% 0.108 165.2)
XYZxyz(10.1189, 16.6360, 13.2653)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12815E #811235
analogous
#128127 #12815E #126D81
triadic
#12815E #5E1281 #815E12
tetradic
#12815E #271281 #811235 #6D8112
square
#12815E #271281 #811235 #6D8112
split-complementary
#12815E #81126D #812712
monochromatic
#041B14 #0B4B37 #12815E #19B785 #2CE2A8

Accessibility & contrast

On white

4.85
#12815E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#12815E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12815E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12815E#FFFFFF#000000##FFFFFF
##12815E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E775C
Deuteranopia (green-blind)
#716E60
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #12815e;
/* rgb */ color: rgb(18, 129, 94);
/* oklch */ color: oklch(53.7% 0.108 165.2);
Tailwind
colors: {
  custom: {
    50: '#67a68b',
    500: '#12815e',
    950: '#000000',
  },
}
SCSS
$custom: #12815e;
$custom-light: #67a68b;
$custom-dark: #000000;
JSON
{
  "hex": "#12815e",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 94
  },
  "hsl": {
    "h": 161.081,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.10797,
    "h": 165.2
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#12815E
secondary
#B73860
accent
#3671F2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #12815E

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

Preview Lab → · Contrast checker → · Palette generator →

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