#123F2F#123F2F

#123F2F is a dark, muted teal. Relative luminance 0.039; OKLCH L 33.2% C 0.057 H 166.0°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#123F2F
RGBrgb(18, 63, 47)
HSLhsl(159, 56%, 16%)
HSVhsv(159, 71%, 25%)
CMYKcmyk(71.4%, 0%, 25.4%, 75.3%)
CIE-LABlab(23.30, -19.91, 5.37)
CIE-LCHlch(23.30, 20.62, 164.92°)
OKLaboklab(33.17% -0.0552 0.0137)
OKLCHoklch(33.17% 0.057 166)
XYZxyz(2.5398, 3.8886, 3.3055)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F2F #3F1222
analogous
#123F18 #123F2F #12383F
triadic
#123F2F #2F123F #3F2F12
tetradic
#123F2F #18123F #3F1222 #383F12
square
#123F2F #18123F #3F1222 #383F12
split-complementary
#123F2F #3F1238 #3F1812
monochromatic
#071812 #071812 #123F2F #206F53 #2D9E76

Accessibility & contrast

On white

11.81
#123F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#123F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F2F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F2F#FFFFFF#000000##FFFFFF
##123F2F1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2E
Deuteranopia (green-blind)
#373630
Tritanopia (blue-blind)
#003F3B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123f2f;
/* rgb */ color: rgb(18, 63, 47);
/* oklch */ color: oklch(33.2% 0.057 166.0);
Tailwind
colors: {
  custom: {
    50: '#567467',
    500: '#123f2f',
    950: '#000000',
  },
}
SCSS
$custom: #123f2f;
$custom-light: #567467;
$custom-dark: #000000;
JSON
{
  "hex": "#123f2f",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 47
  },
  "hsl": {
    "h": 158.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33175,
    "c": 0.05688,
    "h": 166
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#123F2F
secondary
#78354D
accent
#497EDF
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #123F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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