#124E3A#124E3A

#124E3A is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.0% C 0.070 H 166.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#124E3A
RGBrgb(18, 78, 58)
HSLhsl(160, 63%, 19%)
HSVhsv(160, 77%, 31%)
CMYKcmyk(76.9%, 0%, 25.6%, 69.4%)
CIE-LABlab(29.11, -24.43, 6.45)
CIE-LCHlch(29.11, 25.27, 165.22°)
OKLaboklab(38.03% -0.0676 0.0165)
OKLCHoklch(38.03% 0.07 166.3)
XYZxyz(3.7372, 5.8824, 4.9406)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E3A #4E1226
analogous
#124E1C #124E3A #12444E
triadic
#124E3A #3A124E #4E3A12
tetradic
#124E3A #1C124E #4E1226 #444E12
square
#124E3A #1C124E #4E1226 #444E12
split-complementary
#124E3A #4E1244 #4E1C12
monochromatic
#061912 #071C15 #124E3A #1D805F #29B184

Accessibility & contrast

On white

9.65
#124E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E3A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E3A#FFFFFF#000000##FFFFFF
##124E3A1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4839
Deuteranopia (green-blind)
#44423B
Tritanopia (blue-blind)
#004E48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124e3a;
/* rgb */ color: rgb(18, 78, 58);
/* oklch */ color: oklch(38.0% 0.070 166.3);
Tailwind
colors: {
  custom: {
    50: '#5a8070',
    500: '#124e3a',
    950: '#000000',
  },
}
SCSS
$custom: #124e3a;
$custom-light: #5a8070;
$custom-dark: #000000;
JSON
{
  "hex": "#124e3a",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 58
  },
  "hsl": {
    "h": 160,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.06955,
    "h": 166.3
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#124E3A
secondary
#873550
accent
#4279E6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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