#124E39#124E39

#124E39 is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.0% C 0.070 H 165.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#124E39
RGBrgb(18, 78, 57)
HSLhsl(159, 63%, 19%)
HSVhsv(159, 77%, 31%)
CMYKcmyk(76.9%, 0%, 26.9%, 69.4%)
CIE-LABlab(29.09, -24.71, 7.05)
CIE-LCHlch(29.09, 25.69, 164.08°)
OKLaboklab(38% -0.0681 0.018)
OKLCHoklch(38% 0.07 165.2)
XYZxyz(3.7120, 5.8724, 4.8080)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E39 #4E1227
analogous
#124E1B #124E39 #12454E
triadic
#124E39 #39124E #4E3912
tetradic
#124E39 #1B124E #4E1227 #454E12
square
#124E39 #1B124E #4E1227 #454E12
split-complementary
#124E39 #4E1245 #4E1B12
monochromatic
#061912 #071C15 #124E39 #1D805D #29B182

Accessibility & contrast

On white

9.66
#124E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#124E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E39
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E39#FFFFFF#000000##FFFFFF
##124E391.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4838
Deuteranopia (green-blind)
#44423A
Tritanopia (blue-blind)
#004E48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124e39;
/* rgb */ color: rgb(18, 78, 57);
/* oklch */ color: oklch(38.0% 0.070 165.2);
Tailwind
colors: {
  custom: {
    50: '#5a806f',
    500: '#124e39',
    950: '#000000',
  },
}
SCSS
$custom: #124e39;
$custom-light: #5a806f;
$custom-dark: #000000;
JSON
{
  "hex": "#124e39",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 57
  },
  "hsl": {
    "h": 159,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38001,
    "c": 0.07047,
    "h": 165.2
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#124E39
secondary
#873552
accent
#427BE6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124E39

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

Preview Lab → · Contrast checker → · Palette generator →

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