#124F4A#124F4A

#124F4A is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.9% C 0.060 H 186.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#124F4A
RGBrgb(18, 79, 74)
HSLhsl(175, 63%, 19%)
HSVhsv(175, 77%, 31%)
CMYKcmyk(77.2%, 0%, 6.3%, 69%)
CIE-LABlab(29.95, -20.15, -2.59)
CIE-LCHlch(29.95, 20.32, 187.31°)
OKLaboklab(38.87% -0.06 -0.0073)
OKLCHoklch(38.87% 0.06 186.9)
XYZxyz(4.2809, 6.2145, 7.4511)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F4A #4F1217
analogous
#124F2C #124F4A #12364F
triadic
#124F4A #4A124F #4F4A12
tetradic
#124F4A #2C124F #4F1217 #364F12
square
#124F4A #2C124F #4F1217 #364F12
split-complementary
#124F4A #4F1236 #4F2C12
monochromatic
#061917 #071D1B #124F4A #1D8179 #29B3A7

Accessibility & contrast

On white

9.36
#124F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#124F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F4A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F4A#FFFFFF#000000##FFFFFF
##124F4A1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A4A
Deuteranopia (green-blind)
#42444B
Tritanopia (blue-blind)
#00514D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #124f4a;
/* rgb */ color: rgb(18, 79, 74);
/* oklch */ color: oklch(38.9% 0.060 186.9);
Tailwind
colors: {
  custom: {
    50: '#5b807c',
    500: '#124f4a',
    950: '#000000',
  },
}
SCSS
$custom: #124f4a;
$custom-light: #5b807c;
$custom-dark: #000000;
JSON
{
  "hex": "#124f4a",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 74
  },
  "hsl": {
    "h": 175.082,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38868,
    "c": 0.06049,
    "h": 186.9
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#124F4A
secondary
#88353C
accent
#424FE6
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#040A09
muted
#797C7B

Preview Lab

Preview with #124F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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