#122A20#122A20

#122A20 is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.2% C 0.036 H 164.8°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#122A20
RGBrgb(18, 42, 32)
HSLhsl(155, 40%, 12%)
HSVhsv(155, 57%, 16%)
CMYKcmyk(57.1%, 0%, 23.8%, 83.5%)
CIE-LABlab(14.89, -12.43, 3.67)
CIE-LCHlch(14.89, 12.96, 163.56°)
OKLaboklab(26.19% -0.0347 0.0094)
OKLCHoklch(26.19% 0.036 164.8)
XYZxyz(1.3380, 1.8887, 1.6603)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A20 #2A121C
analogous
#122A14 #122A20 #12282A
triadic
#122A20 #20122A #2A2012
tetradic
#122A20 #14122A #2A121C #282A12
square
#122A20 #14122A #2A121C #282A12
split-complementary
#122A20 #2A1228 #2A1412
monochromatic
#091510 #091510 #122A20 #245541 #378061

Accessibility & contrast

On white

15.24
#122A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#122A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A20
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A20#FFFFFF#000000##FFFFFF
##122A201.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#252421
Tritanopia (blue-blind)
#0B2A27
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122a20;
/* rgb */ color: rgb(18, 42, 32);
/* oklch */ color: oklch(26.2% 0.036 164.8);
Tailwind
colors: {
  custom: {
    50: '#51635b',
    500: '#122a20',
    950: '#000000',
  },
}
SCSS
$custom: #122a20;
$custom-light: #51635b;
$custom-dark: #000000;
JSON
{
  "hex": "#122a20",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 32
  },
  "hsl": {
    "h": 155,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26187,
    "c": 0.03593,
    "h": 164.8
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#122A20
secondary
#613748
accent
#588AD0
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020504
muted
#787979

Preview Lab

Preview with #122A20

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

Preview Lab → · Contrast checker → · Palette generator →

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