#123A2F#123A2F

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

Color values

HEX#123A2F
RGBrgb(18, 58, 47)
HSLhsl(164, 53%, 15%)
HSVhsv(164, 69%, 23%)
CMYKcmyk(69%, 0%, 19%, 77.3%)
CIE-LABlab(21.43, -17.23, 2.70)
CIE-LCHlch(21.43, 17.44, 171.08°)
OKLaboklab(31.65% -0.0487 0.0069)
OKLCHoklch(31.65% 0.049 172)
XYZxyz(2.2754, 3.3597, 3.2174)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A2F #3A121D
analogous
#123A1B #123A2F #12313A
triadic
#123A2F #2F123A #3A2F12
tetradic
#123A2F #1B123A #3A121D #313A12
square
#123A2F #1B123A #3A121D #313A12
split-complementary
#123A2F #3A1231 #3A1B12
monochromatic
#071713 #071713 #123A2F #206955 #2F977B

Accessibility & contrast

On white

12.56
#123A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123A2F
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A2F#FFFFFF#000000##FFFFFF
##123A2F1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#323230
Tritanopia (blue-blind)
#003B37
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123a2f;
/* rgb */ color: rgb(18, 58, 47);
/* oklch */ color: oklch(31.6% 0.049 172.0);
Tailwind
colors: {
  custom: {
    50: '#557067',
    500: '#123a2f',
    950: '#000000',
  },
}
SCSS
$custom: #123a2f;
$custom-light: #557067;
$custom-dark: #000000;
JSON
{
  "hex": "#123a2f",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 47
  },
  "hsl": {
    "h": 163.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3165,
    "c": 0.04914,
    "h": 172
  },
  "luminance": 0.0336
}

Semantic roles & 50–950 ramp

primary
#123A2F
secondary
#733546
accent
#4C73DC
background
#F5F6F6
surface
#E9ECEB
border
#C5C7C6
text
#030706
muted
#787A7A

Preview Lab

Preview with #123A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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