#12754B#12754B

#12754B is a mid, moderate teal. Relative luminance 0.134; OKLCH L 49.8% C 0.109 H 158.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#12754B
RGBrgb(18, 117, 75)
HSLhsl(155, 73%, 26%)
HSVhsv(155, 85%, 46%)
CMYKcmyk(84.6%, 0%, 35.9%, 54.1%)
CIE-LABlab(43.30, -37.57, 15.71)
CIE-LCHlch(43.30, 40.73, 157.31°)
OKLaboklab(49.83% -0.1017 0.0396)
OKLCHoklch(49.83% 0.109 158.7)
XYZxyz(7.8799, 13.3582, 8.8183)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12754B #75123C
analogous
#127519 #12754B #126E75
triadic
#12754B #4B1275 #754B12
tetradic
#12754B #191275 #75123C #6E7512
square
#12754B #191275 #75123C #6E7512
split-complementary
#12754B #75126E #751912
monochromatic
#041B11 #0A4029 #12754B #1AAA6D #24DD8F

Accessibility & contrast

On white

5.72
#12754B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12754B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12754B#FFFFFF#000000##FFFFFF
##12754B1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12754b;
/* rgb */ color: rgb(18, 117, 75);
/* oklch */ color: oklch(49.8% 0.109 158.7);
Tailwind
colors: {
  custom: {
    50: '#649e7d',
    500: '#12754b',
    950: '#000000',
  },
}
SCSS
$custom: #12754b;
$custom-light: #649e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#12754b",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 75
  },
  "hsl": {
    "h": 154.545,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49827,
    "c": 0.10916,
    "h": 158.7
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#12754B
secondary
#AC3769
accent
#3886F0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E09
muted
#7A7E7B

Preview Lab

Preview with #12754B

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

Preview Lab → · Contrast checker → · Palette generator →

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