#12754F#12754F

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

Color values

HEX#12754F
RGBrgb(18, 117, 79)
HSLhsl(157, 73%, 26%)
HSVhsv(157, 85%, 46%)
CMYKcmyk(84.6%, 0%, 32.5%, 54.1%)
CIE-LABlab(43.38, -36.64, 13.48)
CIE-LCHlch(43.38, 39.04, 159.80°)
OKLaboklab(49.92% -0.0997 0.0342)
OKLCHoklch(49.92% 0.105 161.1)
XYZxyz(8.0211, 13.4147, 9.5622)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12754F #751238
analogous
#12751E #12754F #126A75
triadic
#12754F #4F1275 #754F12
tetradic
#12754F #1E1275 #751238 #6A7512
square
#12754F #1E1275 #751238 #6A7512
split-complementary
#12754F #75126A #751E12
monochromatic
#041B12 #0A402B #12754F #1AAA73 #24DD96

Accessibility & contrast

On white

5.70
#12754F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12754F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12754F#FFFFFF#000000##FFFFFF
##12754F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12754f;
/* rgb */ color: rgb(18, 117, 79);
/* oklch */ color: oklch(49.9% 0.105 161.1);
Tailwind
colors: {
  custom: {
    50: '#649d80',
    500: '#12754f',
    950: '#000000',
  },
}
SCSS
$custom: #12754f;
$custom-light: #649d80;
$custom-dark: #000000;
JSON
{
  "hex": "#12754f",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 79
  },
  "hsl": {
    "h": 156.97,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.10536,
    "h": 161.1
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#12754F
secondary
#AC3764
accent
#387FF0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #12754F

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

Preview Lab → · Contrast checker → · Palette generator →

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