#124839#124839

#124839 is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.2% C 0.062 H 170.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#124839
RGBrgb(18, 72, 57)
HSLhsl(163, 60%, 18%)
HSVhsv(163, 75%, 28%)
CMYKcmyk(75%, 0%, 20.8%, 71.8%)
CIE-LABlab(26.90, -21.72, 3.95)
CIE-LCHlch(26.90, 22.07, 169.70°)
OKLaboklab(36.21% -0.0609 0.0101)
OKLCHoklch(36.21% 0.062 170.6)
XYZxyz(3.3050, 5.0584, 4.6723)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124839 #481221
analogous
#12481E #124839 #123C48
triadic
#124839 #391248 #483912
tetradic
#124839 #1E1248 #481221 #3C4812
square
#124839 #1E1248 #481221 #3C4812
split-complementary
#124839 #48123C #481E12
monochromatic
#061813 #061813 #124839 #1E7960 #2AAA87

Accessibility & contrast

On white

10.44
#124839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#124839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124839
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124839#FFFFFF#000000##FFFFFF
##1248391.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464338
Deuteranopia (green-blind)
#3E3D3A
Tritanopia (blue-blind)
#004944
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124839;
/* rgb */ color: rgb(18, 72, 57);
/* oklch */ color: oklch(36.2% 0.062 170.6);
Tailwind
colors: {
  custom: {
    50: '#587b6f',
    500: '#124839',
    950: '#000000',
  },
}
SCSS
$custom: #124839;
$custom-light: #587b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#124839",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 57
  },
  "hsl": {
    "h": 163.333,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3621,
    "c": 0.0617,
    "h": 170.6
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#124839
secondary
#81354A
accent
#4571E3
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040907
muted
#797B7A

Preview Lab

Preview with #124839

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

Preview Lab → · Contrast checker → · Palette generator →

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