#124A39#124A39

#124A39 is a dark, moderate teal. Relative luminance 0.053; OKLCH L 36.8% C 0.065 H 168.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#124A39
RGBrgb(18, 74, 57)
HSLhsl(162, 61%, 18%)
HSVhsv(162, 76%, 29%)
CMYKcmyk(75.7%, 0%, 23%, 71%)
CIE-LABlab(27.63, -22.73, 4.99)
CIE-LCHlch(27.63, 23.27, 167.62°)
OKLaboklab(36.81% -0.0633 0.0127)
OKLCHoklch(36.81% 0.065 168.6)
XYZxyz(3.4364, 5.3212, 4.7161)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A39 #4A1223
analogous
#124A1D #124A39 #123F4A
triadic
#124A39 #39124A #4A3912
tetradic
#124A39 #1D124A #4A1223 #3F4A12
square
#124A39 #1D124A #4A1223 #3F4A12
split-complementary
#124A39 #4A123F #4A1D12
monochromatic
#061913 #061913 #124A39 #1E7B5F #2AAC85

Accessibility & contrast

On white

10.17
#124A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#124A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A39
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A39#FFFFFF#000000##FFFFFF
##124A391.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484438
Deuteranopia (green-blind)
#403F3A
Tritanopia (blue-blind)
#004A45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124a39;
/* rgb */ color: rgb(18, 74, 57);
/* oklch */ color: oklch(36.8% 0.065 168.6);
Tailwind
colors: {
  custom: {
    50: '#597d6f',
    500: '#124a39',
    950: '#000000',
  },
}
SCSS
$custom: #124a39;
$custom-light: #597d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#124a39",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 57
  },
  "hsl": {
    "h": 161.786,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36807,
    "c": 0.06458,
    "h": 168.6
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#124A39
secondary
#83354D
accent
#4474E4
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040907
muted
#797B7A

Preview Lab

Preview with #124A39

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

Preview Lab → · Contrast checker → · Palette generator →

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