#123F2A#123F2A

#123F2A is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.0% C 0.062 H 159.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#123F2A
RGBrgb(18, 63, 42)
HSLhsl(152, 56%, 16%)
HSVhsv(152, 71%, 25%)
CMYKcmyk(71.4%, 0%, 33.3%, 75.3%)
CIE-LABlab(23.17, -21.25, 8.47)
CIE-LCHlch(23.17, 22.88, 158.26°)
OKLaboklab(33.03% -0.0581 0.0215)
OKLCHoklch(33.03% 0.062 159.7)
XYZxyz(2.4446, 3.8505, 2.8044)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F2A #3F1227
analogous
#123F13 #123F2A #123D3F
triadic
#123F2A #2A123F #3F2A12
tetradic
#123F2A #13123F #3F1227 #3D3F12
square
#123F2A #13123F #3F1227 #3D3F12
split-complementary
#123F2A #3F123D #3F1312
monochromatic
#071810 #071810 #123F2A #206F4A #2D9E69

Accessibility & contrast

On white

11.86
#123F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F2A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F2A#FFFFFF#000000##FFFFFF
##123F2A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A29
Deuteranopia (green-blind)
#38352B
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123f2a;
/* rgb */ color: rgb(18, 63, 42);
/* oklch */ color: oklch(33.0% 0.062 159.7);
Tailwind
colors: {
  custom: {
    50: '#567463',
    500: '#123f2a',
    950: '#000000',
  },
}
SCSS
$custom: #123f2a;
$custom-light: #567463;
$custom-dark: #000000;
JSON
{
  "hex": "#123f2a",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 42
  },
  "hsl": {
    "h": 152,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33027,
    "c": 0.06192,
    "h": 159.7
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#123F2A
secondary
#783554
accent
#498FDF
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #123F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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