#124C3E#124C3E

#124C3E is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.6% C 0.063 H 173.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#124C3E
RGBrgb(18, 76, 62)
HSLhsl(166, 62%, 18%)
HSVhsv(166, 76%, 30%)
CMYKcmyk(76.3%, 0%, 18.4%, 70.2%)
CIE-LABlab(28.50, -22.30, 3.01)
CIE-LCHlch(28.50, 22.50, 172.31°)
OKLaboklab(37.56% -0.063 0.0076)
OKLCHoklch(37.56% 0.063 173.1)
XYZxyz(3.7030, 5.6449, 5.4509)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C3E #4C1220
analogous
#124C21 #124C3E #123D4C
triadic
#124C3E #3E124C #4C3E12
tetradic
#124C3E #21124C #4C1220 #3D4C12
square
#124C3E #21124C #4C1220 #3D4C12
split-complementary
#124C3E #4C123D #4C2112
monochromatic
#061914 #061B16 #124C3E #1E7D66 #29AF8F

Accessibility & contrast

On white

9.86
#124C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#124C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C3E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C3E#FFFFFF#000000##FFFFFF
##124C3E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49473D
Deuteranopia (green-blind)
#41413F
Tritanopia (blue-blind)
#004D48
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124c3e;
/* rgb */ color: rgb(18, 76, 62);
/* oklch */ color: oklch(37.6% 0.063 173.1);
Tailwind
colors: {
  custom: {
    50: '#597e73',
    500: '#124c3e',
    950: '#000000',
  },
}
SCSS
$custom: #124c3e;
$custom-light: #597e73;
$custom-dark: #000000;
JSON
{
  "hex": "#124c3e",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 62
  },
  "hsl": {
    "h": 165.517,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37563,
    "c": 0.06342,
    "h": 173.1
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#124C3E
secondary
#853548
accent
#436AE5
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #124C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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