#124237#124237

#124237 is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.3% C 0.055 H 174.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#124237
RGBrgb(18, 66, 55)
HSLhsl(166, 57%, 16%)
HSVhsv(166, 73%, 26%)
CMYKcmyk(72.7%, 0%, 16.7%, 74.1%)
CIE-LABlab(24.64, -19.17, 2.01)
CIE-LCHlch(24.64, 19.28, 174.02°)
OKLaboklab(34.35% -0.0545 0.005)
OKLCHoklch(34.35% 0.055 174.7)
XYZxyz(2.8869, 4.3006, 4.2916)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124237 #42121D
analogous
#12421F #124237 #123542
triadic
#124237 #371242 #423712
tetradic
#124237 #1F1242 #42121D #354212
square
#124237 #1F1242 #42121D #354212
split-complementary
#124237 #421235 #421F12
monochromatic
#071814 #071814 #124237 #1F725F #2CA287

Accessibility & contrast

On white

11.29
#124237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#124237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124237
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124237#FFFFFF#000000##FFFFFF
##1242371.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D37
Deuteranopia (green-blind)
#393838
Tritanopia (blue-blind)
#00433F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #124237;
/* rgb */ color: rgb(18, 66, 55);
/* oklch */ color: oklch(34.3% 0.055 174.7);
Tailwind
colors: {
  custom: {
    50: '#57766d',
    500: '#124237',
    950: '#000000',
  },
}
SCSS
$custom: #124237;
$custom-light: #57766d;
$custom-dark: #000000;
JSON
{
  "hex": "#124237",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 55
  },
  "hsl": {
    "h": 166.25,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.05474,
    "h": 174.7
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

primary
#124237
secondary
#7B3545
accent
#476AE0
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #124237

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

Preview Lab → · Contrast checker → · Palette generator →

#124237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva