#123B27#123B27

#123B27 is a dark, muted teal. Relative luminance 0.034; OKLCH L 31.7% C 0.058 H 159.0°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#123B27
RGBrgb(18, 59, 39)
HSLhsl(151, 53%, 15%)
HSVhsv(151, 69%, 23%)
CMYKcmyk(69.5%, 0%, 33.9%, 76.9%)
CIE-LABlab(21.59, -19.98, 8.26)
CIE-LCHlch(21.59, 21.62, 157.53°)
OKLaboklab(31.71% -0.0546 0.021)
OKLCHoklch(31.71% 0.058 159)
XYZxyz(2.1794, 3.4028, 2.4610)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B27 #3B1226
analogous
#123B13 #123B27 #123A3B
triadic
#123B27 #27123B #3B2712
tetradic
#123B27 #13123B #3B1226 #3A3B12
square
#123B27 #13123B #3B1226 #3A3B12
split-complementary
#123B27 #3B123A #3B1312
monochromatic
#07170F #07170F #123B27 #206A46 #2F9965

Accessibility & contrast

On white

12.50
#123B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#123B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B27
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B27#FFFFFF#000000##FFFFFF
##123B271.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3626
Deuteranopia (green-blind)
#353228
Tritanopia (blue-blind)
#023B36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123b27;
/* rgb */ color: rgb(18, 59, 39);
/* oklch */ color: oklch(31.7% 0.058 159.0);
Tailwind
colors: {
  custom: {
    50: '#557161',
    500: '#123b27',
    950: '#000000',
  },
}
SCSS
$custom: #123b27;
$custom-light: #557161;
$custom-dark: #000000;
JSON
{
  "hex": "#123b27",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 39
  },
  "hsl": {
    "h": 150.732,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.31708,
    "c": 0.05847,
    "h": 159
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#123B27
secondary
#743554
accent
#4B92DD
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030705
muted
#787A79

Preview Lab

Preview with #123B27

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

Preview Lab → · Contrast checker → · Palette generator →

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