#124D3F#124D3F

#124D3F is a dark, moderate teal. Relative luminance 0.058; OKLCH L 37.9% C 0.064 H 173.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#124D3F
RGBrgb(18, 77, 63)
HSLhsl(166, 62%, 19%)
HSVhsv(166, 77%, 30%)
CMYKcmyk(76.6%, 0%, 18.2%, 69.8%)
CIE-LABlab(28.89, -22.52, 2.93)
CIE-LCHlch(28.89, 22.70, 172.59°)
OKLaboklab(37.89% -0.0636 0.0074)
OKLCHoklch(37.89% 0.064 173.4)
XYZxyz(3.8001, 5.7948, 5.6199)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D3F #4D1220
analogous
#124D21 #124D3F #123D4D
triadic
#124D3F #3F124D #4D3F12
tetradic
#124D3F #21124D #4D1220 #3D4D12
square
#124D3F #21124D #4D1220 #3D4D12
split-complementary
#124D3F #4D123D #4D2112
monochromatic
#061914 #061B16 #124D3F #1E7F68 #29B090

Accessibility & contrast

On white

9.73
#124D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#124D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D3F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D3F#FFFFFF#000000##FFFFFF
##124D3F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A483E
Deuteranopia (green-blind)
#424240
Tritanopia (blue-blind)
#004E49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124d3f;
/* rgb */ color: rgb(18, 77, 63);
/* oklch */ color: oklch(37.9% 0.064 173.4);
Tailwind
colors: {
  custom: {
    50: '#5a7f74',
    500: '#124d3f',
    950: '#000000',
  },
}
SCSS
$custom: #124d3f;
$custom-light: #5a7f74;
$custom-dark: #000000;
JSON
{
  "hex": "#124d3f",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 63
  },
  "hsl": {
    "h": 165.763,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37892,
    "c": 0.06404,
    "h": 173.4
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#124D3F
secondary
#863548
accent
#4369E5
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #124D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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