#124A38#124A38

#124A38 is a dark, moderate teal. Relative luminance 0.053; OKLCH L 36.8% C 0.065 H 167.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#124A38
RGBrgb(18, 74, 56)
HSLhsl(161, 61%, 18%)
HSVhsv(161, 76%, 29%)
CMYKcmyk(75.7%, 0%, 24.3%, 71%)
CIE-LABlab(27.60, -23.01, 5.59)
CIE-LCHlch(27.60, 23.68, 166.34°)
OKLaboklab(36.78% -0.0639 0.0143)
OKLCHoklch(36.78% 0.065 167.4)
XYZxyz(3.4117, 5.3113, 4.5860)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A38 #4A1224
analogous
#124A1C #124A38 #12404A
triadic
#124A38 #38124A #4A3812
tetradic
#124A38 #1C124A #4A1224 #404A12
square
#124A38 #1C124A #4A1224 #404A12
split-complementary
#124A38 #4A1240 #4A1C12
monochromatic
#061913 #061913 #124A38 #1E7B5D #2AAC83

Accessibility & contrast

On white

10.18
#124A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#124A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A38
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A38#FFFFFF#000000##FFFFFF
##124A381.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484437
Deuteranopia (green-blind)
#413F39
Tritanopia (blue-blind)
#004A45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124a38;
/* rgb */ color: rgb(18, 74, 56);
/* oklch */ color: oklch(36.8% 0.065 167.4);
Tailwind
colors: {
  custom: {
    50: '#597d6e',
    500: '#124a38',
    950: '#000000',
  },
}
SCSS
$custom: #124a38;
$custom-light: #597d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#124a38",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 56
  },
  "hsl": {
    "h": 160.714,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36776,
    "c": 0.06545,
    "h": 167.4
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#124A38
secondary
#83354E
accent
#4477E4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040907
muted
#797B7A

Preview Lab

Preview with #124A38

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

Preview Lab → · Contrast checker → · Palette generator →

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