#12654C#12654C

#12654C is a mid, moderate teal. Relative luminance 0.100; OKLCH L 45.3% C 0.086 H 167.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#12654C
RGBrgb(18, 101, 76)
HSLhsl(162, 70%, 23%)
HSVhsv(162, 82%, 40%)
CMYKcmyk(82.2%, 0%, 24.8%, 60.4%)
CIE-LABlab(37.77, -30.40, 7.45)
CIE-LCHlch(37.77, 31.30, 166.22°)
OKLaboklab(45.28% -0.0841 0.0191)
OKLCHoklch(45.28% 0.086 167.2)
XYZxyz(6.2069, 9.9570, 8.4308)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12654C #65122B
analogous
#126522 #12654C #125465
triadic
#12654C #4C1265 #654C12
tetradic
#12654C #221265 #65122B #546512
square
#12654C #221265 #65122B #546512
split-complementary
#12654C #651254 #652212
monochromatic
#051A14 #093125 #12654C #1B9973 #25CD9A

Accessibility & contrast

On white

7.02
#12654C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#12654C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12654C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12654C#FFFFFF#000000##FFFFFF
##12654C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625D4B
Deuteranopia (green-blind)
#58564E
Tritanopia (blue-blind)
#00655E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #12654c;
/* rgb */ color: rgb(18, 101, 76);
/* oklch */ color: oklch(45.3% 0.086 167.2);
Tailwind
colors: {
  custom: {
    50: '#60917e',
    500: '#12654c',
    950: '#000000',
  },
}
SCSS
$custom: #12654c;
$custom-light: #60917e;
$custom-dark: #000000;
JSON
{
  "hex": "#12654c",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 76
  },
  "hsl": {
    "h": 161.928,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4528,
    "c": 0.08619,
    "h": 167.2
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#12654C
secondary
#9D3655
accent
#3B71ED
background
#F6F9F7
surface
#EBF1EE
border
#C6CBC9
text
#050D09
muted
#7A7E7B

Preview Lab

Preview with #12654C

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

Preview Lab → · Contrast checker → · Palette generator →

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