#123A2B#123A2B

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

Color values

HEX#123A2B
RGBrgb(18, 58, 43)
HSLhsl(158, 53%, 15%)
HSVhsv(158, 69%, 23%)
CMYKcmyk(69%, 0%, 25.9%, 77.3%)
CIE-LABlab(21.32, -18.39, 5.22)
CIE-LCHlch(21.32, 19.11, 164.14°)
OKLaboklab(31.52% -0.0509 0.0134)
OKLCHoklch(31.52% 0.053 165.3)
XYZxyz(2.1983, 3.3289, 2.8117)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A2B #3A1221
analogous
#123A17 #123A2B #12353A
triadic
#123A2B #2B123A #3A2B12
tetradic
#123A2B #17123A #3A1221 #353A12
square
#123A2B #17123A #3A1221 #353A12
split-complementary
#123A2B #3A1235 #3A1712
monochromatic
#071711 #071711 #123A2B #20694E #2F9770

Accessibility & contrast

On white

12.61
#123A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123A2B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A2B#FFFFFF#000000##FFFFFF
##123A2B1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362A
Deuteranopia (green-blind)
#33312C
Tritanopia (blue-blind)
#003A36
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123a2b;
/* rgb */ color: rgb(18, 58, 43);
/* oklch */ color: oklch(31.5% 0.053 165.3);
Tailwind
colors: {
  custom: {
    50: '#557064',
    500: '#123a2b',
    950: '#000000',
  },
}
SCSS
$custom: #123a2b;
$custom-light: #557064;
$custom-dark: #000000;
JSON
{
  "hex": "#123a2b",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 43
  },
  "hsl": {
    "h": 157.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31518,
    "c": 0.05268,
    "h": 165.3
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#123A2B
secondary
#73354C
accent
#4C82DC
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030705
muted
#787A79

Preview Lab

Preview with #123A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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