#123D28#123D28

#123D28 is a dark, moderate teal. Relative luminance 0.036; OKLCH L 32.4% C 0.061 H 158.7°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#123D28
RGBrgb(18, 61, 40)
HSLhsl(151, 54%, 15%)
HSVhsv(151, 70%, 24%)
CMYKcmyk(70.5%, 0%, 34.4%, 76.1%)
CIE-LABlab(22.37, -20.75, 8.68)
CIE-LCHlch(22.37, 22.49, 157.30°)
OKLaboklab(32.36% -0.0566 0.022)
OKLCHoklch(32.36% 0.061 158.7)
XYZxyz(2.3010, 3.6191, 2.5844)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D28 #3D1227
analogous
#123D13 #123D28 #123C3D
triadic
#123D28 #28123D #3D2812
tetradic
#123D28 #13123D #3D1227 #3C3D12
square
#123D28 #13123D #3D1227 #3C3D12
split-complementary
#123D28 #3D123C #3D1312
monochromatic
#07180F #07180F #123D28 #206C47 #2E9C66

Accessibility & contrast

On white

12.18
#123D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#123D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D28
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D28#FFFFFF#000000##FFFFFF
##123D281.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3827
Deuteranopia (green-blind)
#373429
Tritanopia (blue-blind)
#013D37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123d28;
/* rgb */ color: rgb(18, 61, 40);
/* oklch */ color: oklch(32.4% 0.061 158.7);
Tailwind
colors: {
  custom: {
    50: '#557362',
    500: '#123d28',
    950: '#000000',
  },
}
SCSS
$custom: #123d28;
$custom-light: #557362;
$custom-dark: #000000;
JSON
{
  "hex": "#123d28",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 40
  },
  "hsl": {
    "h": 150.698,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32355,
    "c": 0.06075,
    "h": 158.7
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#123D28
secondary
#763555
accent
#4A92DE
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #123D28

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

Preview Lab → · Contrast checker → · Palette generator →

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