#123A28#123A28

#123A28 is a dark, muted teal. Relative luminance 0.033; OKLCH L 31.4% C 0.056 H 161.0°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#123A28
RGBrgb(18, 58, 40)
HSLhsl(153, 53%, 15%)
HSVhsv(153, 69%, 23%)
CMYKcmyk(69%, 0%, 31%, 77.3%)
CIE-LABlab(21.24, -19.20, 7.11)
CIE-LCHlch(21.24, 20.47, 159.68°)
OKLaboklab(31.43% -0.0527 0.0181)
OKLCHoklch(31.43% 0.056 161)
XYZxyz(2.1453, 3.3077, 2.5325)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A28 #3A1224
analogous
#123A14 #123A28 #12383A
triadic
#123A28 #28123A #3A2812
tetradic
#123A28 #14123A #3A1224 #383A12
square
#123A28 #14123A #3A1224 #383A12
split-complementary
#123A28 #3A1238 #3A1412
monochromatic
#071710 #071710 #123A28 #206948 #2F9768

Accessibility & contrast

On white

12.64
#123A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#123A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A28
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A28#FFFFFF#000000##FFFFFF
##123A281.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#343129
Tritanopia (blue-blind)
#023A35
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123a28;
/* rgb */ color: rgb(18, 58, 40);
/* oklch */ color: oklch(31.4% 0.056 161.0);
Tailwind
colors: {
  custom: {
    50: '#557061',
    500: '#123a28',
    950: '#000000',
  },
}
SCSS
$custom: #123a28;
$custom-light: #557061;
$custom-dark: #000000;
JSON
{
  "hex": "#123a28",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 40
  },
  "hsl": {
    "h": 153,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31427,
    "c": 0.05571,
    "h": 161
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#123A28
secondary
#733551
accent
#4C8DDC
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030705
muted
#787A79

Preview Lab

Preview with #123A28

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

Preview Lab → · Contrast checker → · Palette generator →

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