#124D3A#124D3A

#124D3A is a dark, moderate teal. Relative luminance 0.057; OKLCH L 37.7% C 0.068 H 167.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#124D3A
RGBrgb(18, 77, 58)
HSLhsl(161, 62%, 19%)
HSVhsv(161, 77%, 30%)
CMYKcmyk(76.6%, 0%, 24.7%, 69.8%)
CIE-LABlab(28.75, -23.94, 5.93)
CIE-LCHlch(28.75, 24.67, 166.08°)
OKLaboklab(37.73% -0.0664 0.0152)
OKLCHoklch(37.73% 0.068 167.1)
XYZxyz(3.6666, 5.7414, 4.9171)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D3A #4D1225
analogous
#124D1C #124D3A #12424D
triadic
#124D3A #3A124D #4D3A12
tetradic
#124D3A #1C124D #4D1225 #424D12
square
#124D3A #1C124D #4D1225 #424D12
split-complementary
#124D3A #4D1242 #4D1C12
monochromatic
#061913 #061B15 #124D3A #1E7F5F #29B085

Accessibility & contrast

On white

9.77
#124D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#124D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D3A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D3A#FFFFFF#000000##FFFFFF
##124D3A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4739
Deuteranopia (green-blind)
#43413B
Tritanopia (blue-blind)
#004D48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124d3a;
/* rgb */ color: rgb(18, 77, 58);
/* oklch */ color: oklch(37.7% 0.068 167.1);
Tailwind
colors: {
  custom: {
    50: '#597f70',
    500: '#124d3a',
    950: '#000000',
  },
}
SCSS
$custom: #124d3a;
$custom-light: #597f70;
$custom-dark: #000000;
JSON
{
  "hex": "#124d3a",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 58
  },
  "hsl": {
    "h": 160.678,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.06809,
    "h": 167.1
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#124D3A
secondary
#86354F
accent
#4377E5
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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