#123D2E#123D2E

#123D2E is a dark, muted teal. Relative luminance 0.037; OKLCH L 32.5% C 0.055 H 166.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#123D2E
RGBrgb(18, 61, 46)
HSLhsl(159, 54%, 15%)
HSVhsv(159, 70%, 24%)
CMYKcmyk(70.5%, 0%, 24.6%, 76.1%)
CIE-LABlab(22.52, -19.14, 4.93)
CIE-LCHlch(22.52, 19.77, 165.55°)
OKLaboklab(32.53% -0.0532 0.0126)
OKLCHoklch(32.53% 0.055 166.6)
XYZxyz(2.4111, 3.6631, 3.1642)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D2E #3D1221
analogous
#123D18 #123D2E #12363D
triadic
#123D2E #2E123D #3D2E12
tetradic
#123D2E #18123D #3D1221 #363D12
square
#123D2E #18123D #3D1221 #363D12
split-complementary
#123D2E #3D1236 #3D1812
monochromatic
#071812 #071812 #123D2E #206C52 #2E9C75

Accessibility & contrast

On white

12.12
#123D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#123D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D2E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D2E#FFFFFF#000000##FFFFFF
##123D2E1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382D
Deuteranopia (green-blind)
#35342F
Tritanopia (blue-blind)
#003D39
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123d2e;
/* rgb */ color: rgb(18, 61, 46);
/* oklch */ color: oklch(32.5% 0.055 166.6);
Tailwind
colors: {
  custom: {
    50: '#567366',
    500: '#123d2e',
    950: '#000000',
  },
}
SCSS
$custom: #123d2e;
$custom-light: #567366;
$custom-dark: #000000;
JSON
{
  "hex": "#123d2e",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 46
  },
  "hsl": {
    "h": 159.07,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32533,
    "c": 0.05466,
    "h": 166.6
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#123D2E
secondary
#76354C
accent
#4A7EDE
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #123D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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