#124E3D#124E3D

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

Color values

HEX#124E3D
RGBrgb(18, 78, 61)
HSLhsl(163, 63%, 19%)
HSVhsv(163, 77%, 31%)
CMYKcmyk(76.9%, 0%, 21.8%, 69.4%)
CIE-LABlab(29.19, -23.60, 4.65)
CIE-LCHlch(29.19, 24.05, 168.86°)
OKLaboklab(38.12% -0.0659 0.0119)
OKLCHoklch(38.12% 0.067 169.8)
XYZxyz(3.8157, 5.9139, 5.3544)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E3D #4E1223
analogous
#124E1F #124E3D #12414E
triadic
#124E3D #3D124E #4E3D12
tetradic
#124E3D #1F124E #4E1223 #414E12
square
#124E3D #1F124E #4E1223 #414E12
split-complementary
#124E3D #4E1241 #4E1F12
monochromatic
#061913 #071C16 #124E3D #1D8064 #29B18B

Accessibility & contrast

On white

9.62
#124E3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E3D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E3D#FFFFFF#000000##FFFFFF
##124E3D1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C483C
Deuteranopia (green-blind)
#44423E
Tritanopia (blue-blind)
#004F49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124e3d;
/* rgb */ color: rgb(18, 78, 61);
/* oklch */ color: oklch(38.1% 0.067 169.8);
Tailwind
colors: {
  custom: {
    50: '#5a8072',
    500: '#124e3d',
    950: '#000000',
  },
}
SCSS
$custom: #124e3d;
$custom-light: #5a8072;
$custom-dark: #000000;
JSON
{
  "hex": "#124e3d",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 61
  },
  "hsl": {
    "h": 163,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38123,
    "c": 0.06697,
    "h": 169.8
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#124E3D
secondary
#87354C
accent
#4271E6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #124E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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