#124F5A#124F5A

#124F5A is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.5% C 0.062 H 212.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#124F5A
RGBrgb(18, 79, 90)
HSLhsl(189, 67%, 21%)
HSVhsv(189, 80%, 35%)
CMYKcmyk(80%, 12.2%, 0%, 64.7%)
CIE-LABlab(30.54, -14.64, -11.94)
CIE-LCHlch(30.54, 18.89, 219.19°)
OKLaboklab(39.55% -0.0521 -0.0332)
OKLCHoklch(39.55% 0.062 212.6)
XYZxyz(4.8901, 6.4582, 10.6597)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F5A #5A1D12
analogous
#125A41 #124F5A #122B5A
triadic
#124F5A #5A124F #4F5A12
tetradic
#124F5A #41125A #5A1D12 #2B5A12
square
#124F5A #41125A #5A1D12 #2B5A12
split-complementary
#124F5A #5A122B #5A4112
monochromatic
#05161A #082227 #124F5A #1C7C8D #26A9C0

Accessibility & contrast

On white

9.16
#124F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#124F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F5A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F5A#FFFFFF#000000##FFFFFF
##124F5A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C5B
Deuteranopia (green-blind)
#3D455A
Tritanopia (blue-blind)
#005352
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #124f5a;
/* rgb */ color: rgb(18, 79, 90);
/* oklch */ color: oklch(39.5% 0.062 212.6);
Tailwind
colors: {
  custom: {
    50: '#5d8088',
    500: '#124f5a',
    950: '#000000',
  },
}
SCSS
$custom: #124f5a;
$custom-light: #5d8088;
$custom-dark: #000000;
JSON
{
  "hex": "#124f5a",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 90
  },
  "hsl": {
    "h": 189.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39545,
    "c": 0.06178,
    "h": 212.6
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#124F5A
secondary
#934435
accent
#583EEA
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #124F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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