#12754C#12754C

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

Color values

HEX#12754C
RGBrgb(18, 117, 76)
HSLhsl(155, 73%, 26%)
HSVhsv(155, 85%, 46%)
CMYKcmyk(84.6%, 0%, 35%, 54.1%)
CIE-LABlab(43.32, -37.34, 15.15)
CIE-LCHlch(43.32, 40.30, 157.92°)
OKLaboklab(49.85% -0.1012 0.0383)
OKLCHoklch(49.85% 0.108 159.3)
XYZxyz(7.9144, 13.3720, 9.0000)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12754C #75123B
analogous
#12751B #12754C #126D75
triadic
#12754C #4C1275 #754C12
tetradic
#12754C #1B1275 #75123B #6D7512
square
#12754C #1B1275 #75123B #6D7512
split-complementary
#12754C #75126D #751B12
monochromatic
#041B11 #0A402A #12754C #1AAA6E #24DD91

Accessibility & contrast

On white

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

On black

3.67
#12754C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##12754C#FFFFFF#000000##FFFFFF
##12754C1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746B49
Deuteranopia (green-blind)
#68634F
Tritanopia (blue-blind)
#00746A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #12754c;
/* rgb */ color: rgb(18, 117, 76);
/* oklch */ color: oklch(49.9% 0.108 159.3);
Tailwind
colors: {
  custom: {
    50: '#649e7e',
    500: '#12754c',
    950: '#000000',
  },
}
SCSS
$custom: #12754c;
$custom-light: #649e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#12754c",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 76
  },
  "hsl": {
    "h": 155.152,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49851,
    "c": 0.1082,
    "h": 159.3
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#12754C
secondary
#AC3767
accent
#3884F0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #12754C

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

Preview Lab → · Contrast checker → · Palette generator →

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