#124C3C#124C3C

#124C3C is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.5% C 0.065 H 170.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#124C3C
RGBrgb(18, 76, 60)
HSLhsl(163, 62%, 18%)
HSVhsv(163, 76%, 30%)
CMYKcmyk(76.3%, 0%, 21.1%, 70.2%)
CIE-LABlab(28.44, -22.88, 4.21)
CIE-LCHlch(28.44, 23.27, 169.57°)
OKLaboklab(37.5% -0.0641 0.0107)
OKLCHoklch(37.5% 0.065 170.5)
XYZxyz(3.6491, 5.6233, 5.1672)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C3C #4C1222
analogous
#124C1F #124C3C #123F4C
triadic
#124C3C #3C124C #4C3C12
tetradic
#124C3C #1F124C #4C1222 #3F4C12
square
#124C3C #1F124C #4C1222 #3F4C12
split-complementary
#124C3C #4C123F #4C1F12
monochromatic
#061914 #061B15 #124C3C #1E7D63 #29AF8A

Accessibility & contrast

On white

9.88
#124C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#124C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C3C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C3C#FFFFFF#000000##FFFFFF
##124C3C1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A463B
Deuteranopia (green-blind)
#42413D
Tritanopia (blue-blind)
#004D47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124c3c;
/* rgb */ color: rgb(18, 76, 60);
/* oklch */ color: oklch(37.5% 0.065 170.5);
Tailwind
colors: {
  custom: {
    50: '#597e71',
    500: '#124c3c',
    950: '#000000',
  },
}
SCSS
$custom: #124c3c;
$custom-light: #597e71;
$custom-dark: #000000;
JSON
{
  "hex": "#124c3c",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 60
  },
  "hsl": {
    "h": 163.448,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37498,
    "c": 0.06496,
    "h": 170.5
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#124C3C
secondary
#85354B
accent
#4370E5
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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