#124E3C#124E3C

#124E3C is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.1% C 0.068 H 168.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#124E3C
RGBrgb(18, 78, 60)
HSLhsl(162, 63%, 19%)
HSVhsv(162, 77%, 31%)
CMYKcmyk(76.9%, 0%, 23.1%, 69.4%)
CIE-LABlab(29.17, -23.88, 5.25)
CIE-LCHlch(29.17, 24.45, 167.61°)
OKLaboklab(38.09% -0.0665 0.0134)
OKLCHoklch(38.09% 0.068 168.6)
XYZxyz(3.7890, 5.9032, 5.2138)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E3C #4E1224
analogous
#124E1E #124E3C #12424E
triadic
#124E3C #3C124E #4E3C12
tetradic
#124E3C #1E124E #4E1224 #424E12
square
#124E3C #1E124E #4E1224 #424E12
split-complementary
#124E3C #4E1242 #4E1E12
monochromatic
#061913 #071C16 #124E3C #1D8062 #29B189

Accessibility & contrast

On white

9.63
#124E3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#124E3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E3C
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E3C#FFFFFF#000000##FFFFFF
##124E3C1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C483B
Deuteranopia (green-blind)
#44423D
Tritanopia (blue-blind)
#004E49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124e3c;
/* rgb */ color: rgb(18, 78, 60);
/* oklch */ color: oklch(38.1% 0.068 168.6);
Tailwind
colors: {
  custom: {
    50: '#5a8071',
    500: '#124e3c',
    950: '#000000',
  },
}
SCSS
$custom: #124e3c;
$custom-light: #5a8071;
$custom-dark: #000000;
JSON
{
  "hex": "#124e3c",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 60
  },
  "hsl": {
    "h": 162,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38092,
    "c": 0.0678,
    "h": 168.6
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#124E3C
secondary
#87354D
accent
#4273E6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124E3C

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

Preview Lab → · Contrast checker → · Palette generator →

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