#124D3C#124D3C

#124D3C is a dark, moderate teal. Relative luminance 0.058; OKLCH L 37.8% C 0.066 H 169.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#124D3C
RGBrgb(18, 77, 60)
HSLhsl(163, 62%, 19%)
HSVhsv(163, 77%, 30%)
CMYKcmyk(76.6%, 0%, 22.1%, 69.8%)
CIE-LABlab(28.80, -23.38, 4.73)
CIE-LCHlch(28.80, 23.86, 168.56°)
OKLaboklab(37.8% -0.0653 0.0121)
OKLCHoklch(37.8% 0.066 169.5)
XYZxyz(3.7185, 5.7622, 5.1903)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D3C #4D1223
analogous
#124D1E #124D3C #12404D
triadic
#124D3C #3C124D #4D3C12
tetradic
#124D3C #1E124D #4D1223 #404D12
square
#124D3C #1E124D #4D1223 #404D12
split-complementary
#124D3C #4D1240 #4D1E12
monochromatic
#061913 #061B15 #124D3C #1E7F63 #29B089

Accessibility & contrast

On white

9.76
#124D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#124D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D3C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D3C#FFFFFF#000000##FFFFFF
##124D3C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B473B
Deuteranopia (green-blind)
#43423D
Tritanopia (blue-blind)
#004E48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124d3c;
/* rgb */ color: rgb(18, 77, 60);
/* oklch */ color: oklch(37.8% 0.066 169.5);
Tailwind
colors: {
  custom: {
    50: '#5a7f71',
    500: '#124d3c',
    950: '#000000',
  },
}
SCSS
$custom: #124d3c;
$custom-light: #5a7f71;
$custom-dark: #000000;
JSON
{
  "hex": "#124d3c",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 60
  },
  "hsl": {
    "h": 162.712,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37795,
    "c": 0.06638,
    "h": 169.5
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#124D3C
secondary
#86354C
accent
#4371E5
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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