#123F38#123F38

#123F38 is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.5% C 0.050 H 181.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#123F38
RGBrgb(18, 63, 56)
HSLhsl(171, 56%, 16%)
HSVhsv(171, 71%, 25%)
CMYKcmyk(71.4%, 0%, 11.1%, 75.3%)
CIE-LABlab(23.57, -17.23, -0.21)
CIE-LCHlch(23.57, 17.23, 180.71°)
OKLaboklab(33.48% -0.0501 -0.0009)
OKLCHoklch(33.48% 0.05 181)
XYZxyz(2.7404, 3.9688, 4.3623)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F38 #3F1219
analogous
#123F21 #123F38 #122F3F
triadic
#123F38 #38123F #3F3812
tetradic
#123F38 #21123F #3F1219 #2F3F12
square
#123F38 #21123F #3F1219 #2F3F12
split-complementary
#123F38 #3F122F #3F2112
monochromatic
#071815 #071815 #123F38 #206F62 #2D9E8D

Accessibility & contrast

On white

11.71
#123F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F38
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F38#FFFFFF#000000##FFFFFF
##123F381.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B38
Deuteranopia (green-blind)
#353639
Tritanopia (blue-blind)
#00403D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123f38;
/* rgb */ color: rgb(18, 63, 56);
/* oklch */ color: oklch(33.5% 0.050 181.0);
Tailwind
colors: {
  custom: {
    50: '#57746e',
    500: '#123f38',
    950: '#000000',
  },
}
SCSS
$custom: #123f38;
$custom-light: #57746e;
$custom-dark: #000000;
JSON
{
  "hex": "#123f38",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 56
  },
  "hsl": {
    "h": 170.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33483,
    "c": 0.05015,
    "h": 181
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#123F38
secondary
#78353F
accent
#4960DF
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #123F38

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

Preview Lab → · Contrast checker → · Palette generator →

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