#124939#124939

#124939 is a dark, moderate teal. Relative luminance 0.052; OKLCH L 36.5% C 0.063 H 169.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#124939
RGBrgb(18, 73, 57)
HSLhsl(163, 60%, 18%)
HSVhsv(163, 75%, 29%)
CMYKcmyk(75.3%, 0%, 21.9%, 71.4%)
CIE-LABlab(27.27, -22.23, 4.47)
CIE-LCHlch(27.27, 22.67, 168.63°)
OKLaboklab(36.51% -0.0621 0.0114)
OKLCHoklch(36.51% 0.063 169.6)
XYZxyz(3.3701, 5.1887, 4.6940)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124939 #491222
analogous
#12491D #124939 #123E49
triadic
#124939 #391249 #493912
tetradic
#124939 #1D1249 #491222 #3E4912
square
#124939 #1D1249 #491222 #3E4912
split-complementary
#124939 #49123E #491D12
monochromatic
#061913 #061913 #124939 #1E7A5F #2AAB86

Accessibility & contrast

On white

10.31
#124939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#124939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124939
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124939#FFFFFF#000000##FFFFFF
##1249391.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474438
Deuteranopia (green-blind)
#3F3E3A
Tritanopia (blue-blind)
#004A44
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124939;
/* rgb */ color: rgb(18, 73, 57);
/* oklch */ color: oklch(36.5% 0.063 169.6);
Tailwind
colors: {
  custom: {
    50: '#597c6f',
    500: '#124939',
    950: '#000000',
  },
}
SCSS
$custom: #124939;
$custom-light: #597c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#124939",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 57
  },
  "hsl": {
    "h": 162.545,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36509,
    "c": 0.06313,
    "h": 169.6
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#124939
secondary
#82354B
accent
#4473E4
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040907
muted
#797B7A

Preview Lab

Preview with #124939

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

Preview Lab → · Contrast checker → · Palette generator →

#124939 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva