#123C27#123C27

#123C27 is a dark, moderate teal. Relative luminance 0.035; OKLCH L 32.0% C 0.060 H 158.3°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#123C27
RGBrgb(18, 60, 39)
HSLhsl(150, 54%, 15%)
HSVhsv(150, 70%, 24%)
CMYKcmyk(70%, 0%, 35%, 76.5%)
CIE-LABlab(21.97, -20.49, 8.78)
CIE-LCHlch(21.97, 22.29, 156.80°)
OKLaboklab(32.02% -0.0559 0.0223)
OKLCHoklch(32.02% 0.06 158.3)
XYZxyz(2.2313, 3.5066, 2.4783)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C27 #3C1227
analogous
#123C12 #123C27 #123C3C
triadic
#123C27 #27123C #3C2712
tetradic
#123C27 #12123C #3C1227 #3C3C12
square
#123C27 #12123C #3C1227 #3C3C12
split-complementary
#123C27 #3C123C #3C1212
monochromatic
#07180F #07180F #123C27 #206B46 #2E9A64

Accessibility & contrast

On white

12.34
#123C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#123C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C27
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C27#FFFFFF#000000##FFFFFF
##123C271.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3726
Deuteranopia (green-blind)
#363328
Tritanopia (blue-blind)
#023C36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123c27;
/* rgb */ color: rgb(18, 60, 39);
/* oklch */ color: oklch(32.0% 0.060 158.3);
Tailwind
colors: {
  custom: {
    50: '#557261',
    500: '#123c27',
    950: '#000000',
  },
}
SCSS
$custom: #123c27;
$custom-light: #557261;
$custom-dark: #000000;
JSON
{
  "hex": "#123c27",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 39
  },
  "hsl": {
    "h": 150,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.32018,
    "c": 0.06016,
    "h": 158.3
  },
  "luminance": 0.03507
}

Semantic roles & 50–950 ramp

primary
#123C27
secondary
#753555
accent
#4B94DD
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030805
muted
#787B79

Preview Lab

Preview with #123C27

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

Preview Lab → · Contrast checker → · Palette generator →

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