#12755F#12755F

#12755F is a mid, moderate teal. Relative luminance 0.137; OKLCH L 50.4% C 0.092 H 172.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#12755F
RGBrgb(18, 117, 95)
HSLhsl(167, 73%, 26%)
HSVhsv(167, 85%, 46%)
CMYKcmyk(84.6%, 0%, 18.8%, 54.1%)
CIE-LABlab(43.77, -32.49, 4.54)
CIE-LCHlch(43.77, 32.80, 172.04°)
OKLaboklab(50.37% -0.0913 0.0115)
OKLCHoklch(50.37% 0.092 172.8)
XYZxyz(8.6752, 13.6763, 13.0068)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12755F #751228
analogous
#12752E #12755F #125A75
triadic
#12755F #5F1275 #755F12
tetradic
#12755F #2E1275 #751228 #5A7512
square
#12755F #2E1275 #751228 #5A7512
split-complementary
#12755F #75125A #752E12
monochromatic
#041B16 #0A4034 #12755F #1AAA8A #24DDB4

Accessibility & contrast

On white

5.62
#12755F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#12755F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12755F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12755F#FFFFFF#000000##FFFFFF
##12755F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716D5E
Deuteranopia (green-blind)
#656461
Tritanopia (blue-blind)
#00766F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #12755f;
/* rgb */ color: rgb(18, 117, 95);
/* oklch */ color: oklch(50.4% 0.092 172.8);
Tailwind
colors: {
  custom: {
    50: '#649d8c',
    500: '#12755f',
    950: '#000000',
  },
}
SCSS
$custom: #12755f;
$custom-light: #649d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12755f",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 95
  },
  "hsl": {
    "h": 166.667,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.09204,
    "h": 172.8
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#12755F
secondary
#AC3751
accent
#3861F0
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#060E0C
muted
#7A7E7D

Preview Lab

Preview with #12755F

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

Preview Lab → · Contrast checker → · Palette generator →

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