#12815F#12815F

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

Color values

HEX#12815F
RGBrgb(18, 129, 95)
HSLhsl(162, 76%, 29%)
HSVhsv(162, 86%, 51%)
CMYKcmyk(86%, 0%, 26.4%, 49.4%)
CIE-LABlab(47.82, -37.76, 10.30)
CIE-LCHlch(47.82, 39.14, 164.74°)
OKLaboklab(53.7% -0.1038 0.0263)
OKLCHoklch(53.7% 0.107 165.8)
XYZxyz(10.1641, 16.6540, 13.5031)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12815F #811234
analogous
#128128 #12815F #126C81
triadic
#12815F #5F1281 #815F12
tetradic
#12815F #281281 #811234 #6C8112
square
#12815F #281281 #811234 #6C8112
split-complementary
#12815F #81126C #812812
monochromatic
#041B14 #0B4B37 #12815F #19B787 #2CE2AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12815F#FFFFFF#000000##FFFFFF
##12815F1.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)
#7E775D
Deuteranopia (green-blind)
#716E61
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #12815f;
/* rgb */ color: rgb(18, 129, 95);
/* oklch */ color: oklch(53.7% 0.107 165.8);
Tailwind
colors: {
  custom: {
    50: '#67a68c',
    500: '#12815f',
    950: '#000000',
  },
}
SCSS
$custom: #12815f;
$custom-light: #67a68c;
$custom-dark: #000000;
JSON
{
  "hex": "#12815f",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 95
  },
  "hsl": {
    "h": 161.622,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.10712,
    "h": 165.8
  },
  "luminance": 0.16655
}

Semantic roles & 50–950 ramp

primary
#12815F
secondary
#B7385F
accent
#366FF2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #12815F

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

Preview Lab → · Contrast checker → · Palette generator →

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