#123F2E#123F2E

#123F2E is a dark, muted teal. Relative luminance 0.039; OKLCH L 33.1% C 0.058 H 164.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#123F2E
RGBrgb(18, 63, 46)
HSLhsl(157, 56%, 16%)
HSVhsv(157, 71%, 25%)
CMYKcmyk(71.4%, 0%, 27%, 75.3%)
CIE-LABlab(23.27, -20.19, 5.99)
CIE-LCHlch(23.27, 21.06, 163.48°)
OKLaboklab(33.14% -0.0558 0.0153)
OKLCHoklch(33.14% 0.058 164.6)
XYZxyz(2.5198, 3.8806, 3.2005)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F2E #3F1223
analogous
#123F17 #123F2E #12393F
triadic
#123F2E #2E123F #3F2E12
tetradic
#123F2E #17123F #3F1223 #393F12
square
#123F2E #17123F #3F1223 #393F12
split-complementary
#123F2E #3F1239 #3F1712
monochromatic
#071811 #071811 #123F2E #206F51 #2D9E74

Accessibility & contrast

On white

11.82
#123F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123F2E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F2E#FFFFFF#000000##FFFFFF
##123F2E1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2D
Deuteranopia (green-blind)
#37362F
Tritanopia (blue-blind)
#003F3A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123f2e;
/* rgb */ color: rgb(18, 63, 46);
/* oklch */ color: oklch(33.1% 0.058 164.6);
Tailwind
colors: {
  custom: {
    50: '#567466',
    500: '#123f2e',
    950: '#000000',
  },
}
SCSS
$custom: #123f2e;
$custom-light: #567466;
$custom-dark: #000000;
JSON
{
  "hex": "#123f2e",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 46
  },
  "hsl": {
    "h": 157.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33144,
    "c": 0.05784,
    "h": 164.6
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#123F2E
secondary
#78354E
accent
#4982DF
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #123F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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