#12754E#12754E

#12754E is a mid, moderate teal. Relative luminance 0.134; OKLCH L 49.9% C 0.106 H 160.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#12754E
RGBrgb(18, 117, 78)
HSLhsl(156, 73%, 26%)
HSVhsv(156, 85%, 46%)
CMYKcmyk(84.6%, 0%, 33.3%, 54.1%)
CIE-LABlab(43.36, -36.88, 14.04)
CIE-LCHlch(43.36, 39.46, 159.16°)
OKLaboklab(49.9% -0.1002 0.0355)
OKLCHoklch(49.9% 0.106 160.5)
XYZxyz(7.9850, 13.4002, 9.3719)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12754E #751239
analogous
#12751D #12754E #126B75
triadic
#12754E #4E1275 #754E12
tetradic
#12754E #1D1275 #751239 #6B7512
square
#12754E #1D1275 #751239 #6B7512
split-complementary
#12754E #75126B #751D12
monochromatic
#041B12 #0A402B #12754E #1AAA71 #24DD94

Accessibility & contrast

On white

5.71
#12754E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#12754E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12754E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12754E#FFFFFF#000000##FFFFFF
##12754E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736B4C
Deuteranopia (green-blind)
#686351
Tritanopia (blue-blind)
#00756B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #12754e;
/* rgb */ color: rgb(18, 117, 78);
/* oklch */ color: oklch(49.9% 0.106 160.5);
Tailwind
colors: {
  custom: {
    50: '#649e7f',
    500: '#12754e',
    950: '#000000',
  },
}
SCSS
$custom: #12754e;
$custom-light: #649e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#12754e",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 78
  },
  "hsl": {
    "h": 156.364,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.1063,
    "h": 160.5
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#12754E
secondary
#AC3765
accent
#3880F0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #12754E

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

Preview Lab → · Contrast checker → · Palette generator →

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