#123A2A#123A2A

#123A2A is a dark, muted teal. Relative luminance 0.033; OKLCH L 31.5% C 0.054 H 163.8°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#123A2A
RGBrgb(18, 58, 42)
HSLhsl(156, 53%, 15%)
HSVhsv(156, 69%, 23%)
CMYKcmyk(69%, 0%, 27.6%, 77.3%)
CIE-LABlab(21.29, -18.66, 5.85)
CIE-LCHlch(21.29, 19.56, 162.59°)
OKLaboklab(31.49% -0.0515 0.015)
OKLCHoklch(31.49% 0.054 163.8)
XYZxyz(2.1802, 3.3217, 2.7163)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A2A #3A1222
analogous
#123A16 #123A2A #12363A
triadic
#123A2A #2A123A #3A2A12
tetradic
#123A2A #16123A #3A1222 #363A12
square
#123A2A #16123A #3A1222 #363A12
split-complementary
#123A2A #3A1236 #3A1612
monochromatic
#071711 #071711 #123A2A #20694C #2F976E

Accessibility & contrast

On white

12.62
#123A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#123A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A2A
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A2A#FFFFFF#000000##FFFFFF
##123A2A1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393629
Deuteranopia (green-blind)
#33312B
Tritanopia (blue-blind)
#013A36
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123a2a;
/* rgb */ color: rgb(18, 58, 42);
/* oklch */ color: oklch(31.5% 0.054 163.8);
Tailwind
colors: {
  custom: {
    50: '#557063',
    500: '#123a2a',
    950: '#000000',
  },
}
SCSS
$custom: #123a2a;
$custom-light: #557063;
$custom-dark: #000000;
JSON
{
  "hex": "#123a2a",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 42
  },
  "hsl": {
    "h": 156,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31487,
    "c": 0.05366,
    "h": 163.8
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#123A2A
secondary
#73354E
accent
#4C85DC
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030705
muted
#787A79

Preview Lab

Preview with #123A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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