#123B28#123B28

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

Color values

HEX#123B28
RGBrgb(18, 59, 40)
HSLhsl(152, 53%, 15%)
HSVhsv(152, 69%, 23%)
CMYKcmyk(69.5%, 0%, 32.2%, 76.9%)
CIE-LABlab(21.61, -19.72, 7.64)
CIE-LCHlch(21.61, 21.15, 158.83°)
OKLaboklab(31.74% -0.054 0.0194)
OKLCHoklch(31.74% 0.057 160.2)
XYZxyz(2.1962, 3.4095, 2.5494)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B28 #3B1225
analogous
#123B13 #123B28 #123A3B
triadic
#123B28 #28123B #3B2812
tetradic
#123B28 #13123B #3B1225 #3A3B12
square
#123B28 #13123B #3B1225 #3A3B12
split-complementary
#123B28 #3B123A #3B1312
monochromatic
#071710 #071710 #123B28 #206A48 #2F9968

Accessibility & contrast

On white

12.49
#123B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123B28
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B28#FFFFFF#000000##FFFFFF
##123B281.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3627
Deuteranopia (green-blind)
#353229
Tritanopia (blue-blind)
#013B36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123b28;
/* rgb */ color: rgb(18, 59, 40);
/* oklch */ color: oklch(31.7% 0.057 160.2);
Tailwind
colors: {
  custom: {
    50: '#557162',
    500: '#123b28',
    950: '#000000',
  },
}
SCSS
$custom: #123b28;
$custom-light: #557162;
$custom-dark: #000000;
JSON
{
  "hex": "#123b28",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 40
  },
  "hsl": {
    "h": 152.195,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.31736,
    "c": 0.05739,
    "h": 160.2
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#123B28
secondary
#743552
accent
#4B8FDD
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030705
muted
#787A79

Preview Lab

Preview with #123B28

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

Preview Lab → · Contrast checker → · Palette generator →

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