#124A52#124A52

#124A52 is a dark, muted teal. Relative luminance 0.056; OKLCH L 37.8% C 0.057 H 208.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#124A52
RGBrgb(18, 74, 82)
HSLhsl(188, 64%, 20%)
HSVhsv(188, 78%, 32%)
CMYKcmyk(78%, 9.8%, 0%, 67.8%)
CIE-LABlab(28.47, -14.63, -9.95)
CIE-LCHlch(28.47, 17.69, 214.21°)
OKLaboklab(37.77% -0.0501 -0.0277)
OKLCHoklch(37.77% 0.057 208.9)
XYZxyz(4.2206, 5.6349, 8.8462)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A52 #521A12
analogous
#12523A #124A52 #122A52
triadic
#124A52 #52124A #4A5212
tetradic
#124A52 #3A1252 #521A12 #2A5212
square
#124A52 #3A1252 #521A12 #2A5212
split-complementary
#124A52 #52122A #523A12
monochromatic
#061719 #071D20 #124A52 #1D7784 #28A5B6

Accessibility & contrast

On white

9.87
#124A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#124A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A52
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A52#FFFFFF#000000##FFFFFF
##124A521.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434753
Deuteranopia (green-blind)
#3A4052
Tritanopia (blue-blind)
#004E4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124a52;
/* rgb */ color: rgb(18, 74, 82);
/* oklch */ color: oklch(37.8% 0.057 208.9);
Tailwind
colors: {
  custom: {
    50: '#5b7c82',
    500: '#124a52',
    950: '#000000',
  },
}
SCSS
$custom: #124a52;
$custom-light: #5b7c82;
$custom-dark: #000000;
JSON
{
  "hex": "#124a52",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 82
  },
  "hsl": {
    "h": 187.5,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37769,
    "c": 0.05725,
    "h": 208.9
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#124A52
secondary
#8B4035
accent
#5641E7
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #124A52

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

Preview Lab → · Contrast checker → · Palette generator →

#124A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva