#124D5E#124D5E

#124D5E is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.2% C 0.064 H 221.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#124D5E
RGBrgb(18, 77, 94)
HSLhsl(193, 68%, 22%)
HSVhsv(193, 81%, 37%)
CMYKcmyk(80.9%, 18.1%, 0%, 63.1%)
CIE-LABlab(30.02, -11.98, -15.29)
CIE-LCHlch(30.02, 19.42, 231.91°)
OKLaboklab(39.18% -0.048 -0.0428)
OKLCHoklch(39.18% 0.064 221.7)
XYZxyz(4.9229, 6.2439, 11.5332)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D5E #5E2312
analogous
#125E49 #124D5E #12275E
triadic
#124D5E #5E124D #4D5E12
tetradic
#124D5E #49125E #5E2312 #275E12
square
#124D5E #49125E #5E2312 #275E12
split-complementary
#124D5E #5E1227 #5E4912
monochromatic
#05151A #08232B #124D5E #1C7791 #26A1C5

Accessibility & contrast

On white

9.34
#124D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#124D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D5E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D5E#FFFFFF#000000##FFFFFF
##124D5E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#39435E
Tritanopia (blue-blind)
#005252
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #124d5e;
/* rgb */ color: rgb(18, 77, 94);
/* oklch */ color: oklch(39.2% 0.064 221.7);
Tailwind
colors: {
  custom: {
    50: '#5e7f8b',
    500: '#124d5e',
    950: '#000000',
  },
}
SCSS
$custom: #124d5e;
$custom-light: #5e7f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#124d5e",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 94
  },
  "hsl": {
    "h": 193.421,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.39182,
    "c": 0.06431,
    "h": 221.7
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#124D5E
secondary
#964B35
accent
#643DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #124D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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