#122F22#122F22

#122F22 is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.8% C 0.043 H 162.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#122F22
RGBrgb(18, 47, 34)
HSLhsl(153, 45%, 13%)
HSVhsv(153, 62%, 18%)
CMYKcmyk(61.7%, 0%, 27.7%, 81.6%)
CIE-LABlab(16.88, -14.80, 5.08)
CIE-LCHlch(16.88, 15.65, 161.05°)
OKLaboklab(27.82% -0.0409 0.013)
OKLCHoklch(27.82% 0.043 162.4)
XYZxyz(1.5546, 2.2770, 1.8706)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F22 #2F121F
analogous
#122F13 #122F22 #122D2F
triadic
#122F22 #22122F #2F2212
tetradic
#122F22 #13122F #2F121F #2D2F12
square
#122F22 #13122F #2F121F #2D2F12
split-complementary
#122F22 #2F122D #2F1312
monochromatic
#081610 #081610 #122F22 #235B42 #348862

Accessibility & contrast

On white

14.43
#122F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#122F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F22
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F22#FFFFFF#000000##FFFFFF
##122F221.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B21
Deuteranopia (green-blind)
#2A2823
Tritanopia (blue-blind)
#082F2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122f22;
/* rgb */ color: rgb(18, 47, 34);
/* oklch */ color: oklch(27.8% 0.043 162.4);
Tailwind
colors: {
  custom: {
    50: '#52675d',
    500: '#122f22',
    950: '#000000',
  },
}
SCSS
$custom: #122f22;
$custom-light: #52675d;
$custom-dark: #000000;
JSON
{
  "hex": "#122f22",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 153.103,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.27819,
    "c": 0.04295,
    "h": 162.4
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#122F22
secondary
#67364C
accent
#538DD4
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #122F22

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

Preview Lab → · Contrast checker → · Palette generator →

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