#123A2E#123A2E

#123A2E is a dark, muted teal. Relative luminance 0.034; OKLCH L 31.6% C 0.050 H 170.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#123A2E
RGBrgb(18, 58, 46)
HSLhsl(162, 53%, 15%)
HSVhsv(162, 69%, 23%)
CMYKcmyk(69%, 0%, 20.7%, 77.3%)
CIE-LABlab(21.40, -17.53, 3.33)
CIE-LCHlch(21.40, 17.84, 169.23°)
OKLaboklab(31.62% -0.0492 0.0085)
OKLCHoklch(31.62% 0.05 170.2)
XYZxyz(2.2554, 3.3517, 3.1123)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A2E #3A121E
analogous
#123A1A #123A2E #12323A
triadic
#123A2E #2E123A #3A2E12
tetradic
#123A2E #1A123A #3A121E #323A12
square
#123A2E #1A123A #3A121E #323A12
split-complementary
#123A2E #3A1232 #3A1A12
monochromatic
#071713 #071713 #123A2E #206953 #2F9778

Accessibility & contrast

On white

12.57
#123A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123A2E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A2E#FFFFFF#000000##FFFFFF
##123A2E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362D
Deuteranopia (green-blind)
#32322F
Tritanopia (blue-blind)
#003A37
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123a2e;
/* rgb */ color: rgb(18, 58, 46);
/* oklch */ color: oklch(31.6% 0.050 170.2);
Tailwind
colors: {
  custom: {
    50: '#557066',
    500: '#123a2e',
    950: '#000000',
  },
}
SCSS
$custom: #123a2e;
$custom-light: #557066;
$custom-dark: #000000;
JSON
{
  "hex": "#123a2e",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 46
  },
  "hsl": {
    "h": 162,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31616,
    "c": 0.04996,
    "h": 170.2
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#123A2E
secondary
#733548
accent
#4C77DC
background
#F5F6F6
surface
#E9ECEB
border
#C5C7C6
text
#030706
muted
#787A7A

Preview Lab

Preview with #123A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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