#124236#124236

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

Color values

HEX#124236
RGBrgb(18, 66, 54)
HSLhsl(165, 57%, 16%)
HSVhsv(165, 73%, 26%)
CMYKcmyk(72.7%, 0%, 18.2%, 74.1%)
CIE-LABlab(24.61, -19.47, 2.62)
CIE-LCHlch(24.61, 19.65, 172.33°)
OKLaboklab(34.31% -0.0551 0.0066)
OKLCHoklch(34.31% 0.055 173.1)
XYZxyz(2.8632, 4.2911, 4.1667)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124236 #42121E
analogous
#12421E #124236 #123642
triadic
#124236 #361242 #423612
tetradic
#124236 #1E1242 #42121E #364212
square
#124236 #1E1242 #42121E #364212
split-complementary
#124236 #421236 #421E12
monochromatic
#071814 #071814 #124236 #1F725D #2CA285

Accessibility & contrast

On white

11.30
#124236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124236
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124236#FFFFFF#000000##FFFFFF
##1242361.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D35
Deuteranopia (green-blind)
#393837
Tritanopia (blue-blind)
#00433E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #124236;
/* rgb */ color: rgb(18, 66, 54);
/* oklch */ color: oklch(34.3% 0.055 173.1);
Tailwind
colors: {
  custom: {
    50: '#57776d',
    500: '#124236',
    950: '#000000',
  },
}
SCSS
$custom: #124236;
$custom-light: #57776d;
$custom-dark: #000000;
JSON
{
  "hex": "#124236",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 54
  },
  "hsl": {
    "h": 165,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34312,
    "c": 0.05547,
    "h": 173.1
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#124236
secondary
#7B3546
accent
#476EE0
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #124236

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

Preview Lab → · Contrast checker → · Palette generator →

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