#123E28#123E28

#123E28 is a dark, moderate teal. Relative luminance 0.037; OKLCH L 32.7% C 0.062 H 158.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#123E28
RGBrgb(18, 62, 40)
HSLhsl(150, 55%, 16%)
HSVhsv(150, 71%, 24%)
CMYKcmyk(71%, 0%, 35.5%, 75.7%)
CIE-LABlab(22.75, -21.25, 9.20)
CIE-LCHlch(22.75, 23.15, 156.60°)
OKLaboklab(32.66% -0.0579 0.0233)
OKLCHoklch(32.66% 0.062 158.1)
XYZxyz(2.3549, 3.7268, 2.6023)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E28 #3E1228
analogous
#123E12 #123E28 #123E3E
triadic
#123E28 #28123E #3E2812
tetradic
#123E28 #12123E #3E1228 #3E3E12
square
#123E28 #12123E #3E1228 #3E3E12
split-complementary
#123E28 #3E123E #3E1212
monochromatic
#07180F #07180F #123E28 #206D47 #2E9D65

Accessibility & contrast

On white

12.03
#123E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#123E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E28
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E28#FFFFFF#000000##FFFFFF
##123E281.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3927
Deuteranopia (green-blind)
#373529
Tritanopia (blue-blind)
#003E38
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123e28;
/* rgb */ color: rgb(18, 62, 40);
/* oklch */ color: oklch(32.7% 0.062 158.1);
Tailwind
colors: {
  custom: {
    50: '#567462',
    500: '#123e28',
    950: '#000000',
  },
}
SCSS
$custom: #123e28;
$custom-light: #567462;
$custom-dark: #000000;
JSON
{
  "hex": "#123e28",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 40
  },
  "hsl": {
    "h": 150,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.32664,
    "c": 0.06242,
    "h": 158.1
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#123E28
secondary
#773556
accent
#4994DE
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #123E28

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

Preview Lab → · Contrast checker → · Palette generator →

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