#124F5B#124F5B

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

Color values

HEX#124F5B
RGBrgb(18, 79, 91)
HSLhsl(190, 67%, 21%)
HSVhsv(190, 80%, 36%)
CMYKcmyk(80.2%, 13.2%, 0%, 64.3%)
CIE-LABlab(30.58, -14.27, -12.51)
CIE-LCHlch(30.58, 18.98, 221.23°)
OKLaboklab(39.59% -0.0516 -0.0349)
OKLCHoklch(39.59% 0.062 214.1)
XYZxyz(4.9330, 6.4753, 10.8854)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F5B #5B1E12
analogous
#125B43 #124F5B #122B5B
triadic
#124F5B #5B124F #4F5B12
tetradic
#124F5B #43125B #5B1E12 #2B5B12
square
#124F5B #43125B #5B1E12 #2B5B12
split-complementary
#124F5B #5B122B #5B4312
monochromatic
#05161A #082328 #124F5B #1C7B8E #26A8C1

Accessibility & contrast

On white

9.15
#124F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#124F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F5B
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F5B#FFFFFF#000000##FFFFFF
##124F5B1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#3C455B
Tritanopia (blue-blind)
#005453
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #124f5b;
/* rgb */ color: rgb(18, 79, 91);
/* oklch */ color: oklch(39.6% 0.062 214.1);
Tailwind
colors: {
  custom: {
    50: '#5d8089',
    500: '#124f5b',
    950: '#000000',
  },
}
SCSS
$custom: #124f5b;
$custom-light: #5d8089;
$custom-dark: #000000;
JSON
{
  "hex": "#124f5b",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 91
  },
  "hsl": {
    "h": 189.863,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.06229,
    "h": 214.1
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#124F5B
secondary
#934535
accent
#5A3EEA
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #124F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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