#124C3A#124C3A

#124C3A is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.4% C 0.067 H 168.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#124C3A
RGBrgb(18, 76, 58)
HSLhsl(161, 62%, 18%)
HSVhsv(161, 76%, 30%)
CMYKcmyk(76.3%, 0%, 23.7%, 70.2%)
CIE-LABlab(28.39, -23.45, 5.42)
CIE-LCHlch(28.39, 24.07, 166.99°)
OKLaboklab(37.44% -0.0652 0.0139)
OKLCHoklch(37.44% 0.067 168)
XYZxyz(3.5972, 5.6026, 4.8940)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C3A #4C1224
analogous
#124C1D #124C3A #12414C
triadic
#124C3A #3A124C #4C3A12
tetradic
#124C3A #1D124C #4C1224 #414C12
square
#124C3A #1D124C #4C1224 #414C12
split-complementary
#124C3A #4C1241 #4C1D12
monochromatic
#061913 #061B14 #124C3A #1E7D60 #29AF86

Accessibility & contrast

On white

9.90
#124C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124C3A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C3A#FFFFFF#000000##FFFFFF
##124C3A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4639
Deuteranopia (green-blind)
#42413B
Tritanopia (blue-blind)
#004C47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124c3a;
/* rgb */ color: rgb(18, 76, 58);
/* oklch */ color: oklch(37.4% 0.067 168.0);
Tailwind
colors: {
  custom: {
    50: '#597e70',
    500: '#124c3a',
    950: '#000000',
  },
}
SCSS
$custom: #124c3a;
$custom-light: #597e70;
$custom-dark: #000000;
JSON
{
  "hex": "#124c3a",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 58
  },
  "hsl": {
    "h": 161.379,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37435,
    "c": 0.06663,
    "h": 168
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#124C3A
secondary
#85354E
accent
#4375E5
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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