#122F2F#122F2F

#122F2F is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.3% C 0.035 H 195.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#122F2F
RGBrgb(18, 47, 47)
HSLhsl(180, 45%, 13%)
HSVhsv(180, 62%, 18%)
CMYKcmyk(61.7%, 0%, 0%, 81.6%)
CIE-LABlab(17.30, -10.81, -3.33)
CIE-LCHlch(17.30, 11.31, 197.13°)
OKLaboklab(28.31% -0.0335 -0.0092)
OKLCHoklch(28.31% 0.035 195.4)
XYZxyz(1.7788, 2.3667, 3.0518)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F2F #2F1212
analogous
#122F20 #122F2F #12202F
triadic
#122F2F #2F122F #2F2F12
tetradic
#122F2F #20122F #2F1212 #202F12
square
#122F2F #20122F #2F1212 #202F12
split-complementary
#122F2F #2F1220 #2F2012
monochromatic
#081616 #081616 #122F2F #235B5B #348888

Accessibility & contrast

On white

14.25
#122F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122F2F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F2F#FFFFFF#000000##FFFFFF
##122F2F1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#01312F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122f2f;
/* rgb */ color: rgb(18, 47, 47);
/* oklch */ color: oklch(28.3% 0.035 195.4);
Tailwind
colors: {
  custom: {
    50: '#536767',
    500: '#122f2f',
    950: '#000000',
  },
}
SCSS
$custom: #122f2f;
$custom-light: #536767;
$custom-dark: #000000;
JSON
{
  "hex": "#122f2f",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 180,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.28305,
    "c": 0.03476,
    "h": 195.4
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#122F2F
secondary
#673636
accent
#5353D4
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #122F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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