#12795C#12795C

#12795C is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.099 H 167.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#12795C
RGBrgb(18, 121, 92)
HSLhsl(163, 74%, 27%)
HSVhsv(163, 85%, 47%)
CMYKcmyk(85.1%, 0%, 24%, 52.5%)
CIE-LABlab(45.05, -35.09, 8.15)
CIE-LCHlch(45.05, 36.02, 166.92°)
OKLaboklab(51.39% -0.0971 0.0208)
OKLCHoklch(51.39% 0.099 167.9)
XYZxyz(9.0175, 14.5749, 12.4611)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12795C #79122F
analogous
#127929 #12795C #126379
triadic
#12795C #5C1279 #795C12
tetradic
#12795C #291279 #79122F #637912
square
#12795C #291279 #79122F #637912
split-complementary
#12795C #791263 #792912
monochromatic
#041B14 #0A4433 #12795C #1AAE85 #27DFAB

Accessibility & contrast

On white

5.36
#12795C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#12795C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12795C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12795C#FFFFFF#000000##FFFFFF
##12795C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705A
Deuteranopia (green-blind)
#69675E
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #12795c;
/* rgb */ color: rgb(18, 121, 92);
/* oklch */ color: oklch(51.4% 0.099 167.9);
Tailwind
colors: {
  custom: {
    50: '#65a08a',
    500: '#12795c',
    950: '#000000',
  },
}
SCSS
$custom: #12795c;
$custom-light: #65a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#12795c",
  "rgb": {
    "r": 18,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 163.107,
    "s": 74.101,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.0993,
    "h": 167.9
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#12795C
secondary
#AF3859
accent
#376BF1
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #12795C

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

Preview Lab → · Contrast checker → · Palette generator →

#12795C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva