#122C22#122C22

#122C22 is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.9% C 0.038 H 166.4°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#122C22
RGBrgb(18, 44, 34)
HSLhsl(157, 42%, 12%)
HSVhsv(157, 59%, 17%)
CMYKcmyk(59.1%, 0%, 22.7%, 82.7%)
CIE-LABlab(15.72, -13.05, 3.45)
CIE-LCHlch(15.72, 13.50, 165.21°)
OKLaboklab(26.88% -0.0365 0.0089)
OKLCHoklch(26.88% 0.038 166.4)
XYZxyz(1.4387, 2.0453, 1.8320)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C22 #2C121C
analogous
#122C15 #122C22 #12292C
triadic
#122C22 #22122C #2C2212
tetradic
#122C22 #15122C #2C121C #292C12
square
#122C22 #15122C #2C121C #292C12
split-complementary
#122C22 #2C1229 #2C1512
monochromatic
#091611 #091611 #122C22 #245744 #368365

Accessibility & contrast

On white

14.90
#122C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#122C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C22
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C22#FFFFFF#000000##FFFFFF
##122C221.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2921
Deuteranopia (green-blind)
#272623
Tritanopia (blue-blind)
#092C29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122c22;
/* rgb */ color: rgb(18, 44, 34);
/* oklch */ color: oklch(26.9% 0.038 166.4);
Tailwind
colors: {
  custom: {
    50: '#52655c',
    500: '#122c22',
    950: '#000000',
  },
}
SCSS
$custom: #122c22;
$custom-light: #52655c;
$custom-dark: #000000;
JSON
{
  "hex": "#122c22",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 34
  },
  "hsl": {
    "h": 156.923,
    "s": 41.935,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2688,
    "c": 0.03757,
    "h": 166.4
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#122C22
secondary
#633648
accent
#5686D2
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020504
muted
#787A79

Preview Lab

Preview with #122C22

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

Preview Lab → · Contrast checker → · Palette generator →

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