#122F2C#122F2C

#122F2C is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.2% C 0.035 H 186.5°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#122F2C
RGBrgb(18, 47, 44)
HSLhsl(174, 45%, 13%)
HSVhsv(174, 62%, 18%)
CMYKcmyk(61.7%, 0%, 6.4%, 81.6%)
CIE-LABlab(17.19, -11.80, -1.40)
CIE-LCHlch(17.19, 11.88, 186.79°)
OKLaboklab(28.18% -0.0352 -0.004)
OKLCHoklch(28.18% 0.035 186.5)
XYZxyz(1.7204, 2.3433, 2.7440)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F2C #2F1215
analogous
#122F1D #122F2C #12232F
triadic
#122F2C #2C122F #2F2C12
tetradic
#122F2C #1D122F #2F1215 #232F12
square
#122F2C #1D122F #2F1215 #232F12
split-complementary
#122F2C #2F1223 #2F1D12
monochromatic
#081615 #081615 #122F2C #235B55 #34887F

Accessibility & contrast

On white

14.30
#122F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F2C
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F2C#FFFFFF#000000##FFFFFF
##122F2C1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2C
Deuteranopia (green-blind)
#28292C
Tritanopia (blue-blind)
#03302E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122f2c;
/* rgb */ color: rgb(18, 47, 44);
/* oklch */ color: oklch(28.2% 0.035 186.5);
Tailwind
colors: {
  custom: {
    50: '#536765',
    500: '#122f2c',
    950: '#000000',
  },
}
SCSS
$custom: #122f2c;
$custom-light: #536765;
$custom-dark: #000000;
JSON
{
  "hex": "#122f2c",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 173.793,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2818,
    "c": 0.03539,
    "h": 186.5
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#122F2C
secondary
#67363B
accent
#5361D4
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #122F2C

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

Preview Lab → · Contrast checker → · Palette generator →

#122F2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva