#124D3D#124D3D

#124D3D is a dark, moderate teal. Relative luminance 0.058; OKLCH L 37.8% C 0.066 H 170.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#124D3D
RGBrgb(18, 77, 61)
HSLhsl(164, 62%, 19%)
HSVhsv(164, 77%, 30%)
CMYKcmyk(76.6%, 0%, 20.8%, 69.8%)
CIE-LABlab(28.83, -23.10, 4.13)
CIE-LCHlch(28.83, 23.46, 169.86°)
OKLaboklab(37.83% -0.0647 0.0105)
OKLCHoklch(37.83% 0.066 170.8)
XYZxyz(3.7452, 5.7728, 5.3309)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D3D #4D1222
analogous
#124D1F #124D3D #123F4D
triadic
#124D3D #3D124D #4D3D12
tetradic
#124D3D #1F124D #4D1222 #3F4D12
square
#124D3D #1F124D #4D1222 #3F4D12
split-complementary
#124D3D #4D123F #4D1F12
monochromatic
#061914 #061B16 #124D3D #1E7F64 #29B08C

Accessibility & contrast

On white

9.75
#124D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124D3D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D3D#FFFFFF#000000##FFFFFF
##124D3D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B473C
Deuteranopia (green-blind)
#43423E
Tritanopia (blue-blind)
#004E48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124d3d;
/* rgb */ color: rgb(18, 77, 61);
/* oklch */ color: oklch(37.8% 0.066 170.8);
Tailwind
colors: {
  custom: {
    50: '#5a7f72',
    500: '#124d3d',
    950: '#000000',
  },
}
SCSS
$custom: #124d3d;
$custom-light: #5a7f72;
$custom-dark: #000000;
JSON
{
  "hex": "#124d3d",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 61
  },
  "hsl": {
    "h": 163.729,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37826,
    "c": 0.06556,
    "h": 170.8
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#124D3D
secondary
#86354B
accent
#436FE5
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #124D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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