#123A2C#123A2C

#123A2C is a dark, muted teal. Relative luminance 0.033; OKLCH L 31.6% C 0.052 H 166.9°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#123A2C
RGBrgb(18, 58, 44)
HSLhsl(159, 53%, 15%)
HSVhsv(159, 69%, 23%)
CMYKcmyk(69%, 0%, 24.1%, 77.3%)
CIE-LABlab(21.34, -18.10, 4.59)
CIE-LCHlch(21.34, 18.68, 165.77°)
OKLaboklab(31.55% -0.0504 0.0118)
OKLCHoklch(31.55% 0.052 166.9)
XYZxyz(2.2169, 3.3363, 2.9095)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A2C #3A1220
analogous
#123A18 #123A2C #12343A
triadic
#123A2C #2C123A #3A2C12
tetradic
#123A2C #18123A #3A1220 #343A12
square
#123A2C #18123A #3A1220 #343A12
split-complementary
#123A2C #3A1234 #3A1812
monochromatic
#071712 #071712 #123A2C #20694F #2F9773

Accessibility & contrast

On white

12.59
#123A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#123A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A2C
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A2C#FFFFFF#000000##FFFFFF
##123A2C1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362B
Deuteranopia (green-blind)
#33322D
Tritanopia (blue-blind)
#003A36
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123a2c;
/* rgb */ color: rgb(18, 58, 44);
/* oklch */ color: oklch(31.6% 0.052 166.9);
Tailwind
colors: {
  custom: {
    50: '#557065',
    500: '#123a2c',
    950: '#000000',
  },
}
SCSS
$custom: #123a2c;
$custom-light: #557065;
$custom-dark: #000000;
JSON
{
  "hex": "#123a2c",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 44
  },
  "hsl": {
    "h": 159,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3155,
    "c": 0.05173,
    "h": 166.9
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#123A2C
secondary
#73354B
accent
#4C7EDC
background
#F5F6F6
surface
#E9ECEB
border
#C5C7C6
text
#030705
muted
#787A7A

Preview Lab

Preview with #123A2C

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

Preview Lab → · Contrast checker → · Palette generator →

#123A2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva