#123F31#123F31

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

Color values

HEX#123F31
RGBrgb(18, 63, 49)
HSLhsl(161, 56%, 16%)
HSVhsv(161, 71%, 25%)
CMYKcmyk(71.4%, 0%, 22.2%, 75.3%)
CIE-LABlab(23.36, -19.35, 4.12)
CIE-LCHlch(23.36, 19.78, 167.97°)
OKLaboklab(33.24% -0.0541 0.0106)
OKLCHoklch(33.24% 0.055 169)
XYZxyz(2.5811, 3.9051, 3.5229)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F31 #3F1220
analogous
#123F1A #123F31 #12363F
triadic
#123F31 #31123F #3F3112
tetradic
#123F31 #1A123F #3F1220 #363F12
square
#123F31 #1A123F #3F1220 #363F12
split-complementary
#123F31 #3F1236 #3F1A12
monochromatic
#071813 #071813 #123F31 #206F56 #2D9E7B

Accessibility & contrast

On white

11.79
#123F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123F31
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F31#FFFFFF#000000##FFFFFF
##123F311.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #123f31;
/* rgb */ color: rgb(18, 63, 49);
/* oklch */ color: oklch(33.2% 0.055 169.0);
Tailwind
colors: {
  custom: {
    50: '#567469',
    500: '#123f31',
    950: '#000000',
  },
}
SCSS
$custom: #123f31;
$custom-light: #567469;
$custom-dark: #000000;
JSON
{
  "hex": "#123f31",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 49
  },
  "hsl": {
    "h": 161.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33238,
    "c": 0.05509,
    "h": 169
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#123F31
secondary
#78354A
accent
#4978DF
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #123F31

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

Preview Lab → · Contrast checker → · Palette generator →

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