#124238#124238

#124238 is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.4% C 0.054 H 176.4°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#124238
RGBrgb(18, 66, 56)
HSLhsl(168, 57%, 16%)
HSVhsv(168, 73%, 26%)
CMYKcmyk(72.7%, 0%, 15.2%, 74.1%)
CIE-LABlab(24.67, -18.87, 1.39)
CIE-LCHlch(24.67, 18.92, 175.78°)
OKLaboklab(34.38% -0.054 0.0034)
OKLCHoklch(34.38% 0.054 176.4)
XYZxyz(2.9111, 4.3102, 4.4192)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124238 #42121C
analogous
#124220 #124238 #123442
triadic
#124238 #381242 #423812
tetradic
#124238 #201242 #42121C #344212
square
#124238 #201242 #42121C #344212
split-complementary
#124238 #421234 #422012
monochromatic
#071814 #071814 #124238 #1F7261 #2CA28A

Accessibility & contrast

On white

11.28
#124238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124238
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124238#FFFFFF#000000##FFFFFF
##1242381.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3E38
Deuteranopia (green-blind)
#383839
Tritanopia (blue-blind)
#00433F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #124238;
/* rgb */ color: rgb(18, 66, 56);
/* oklch */ color: oklch(34.4% 0.054 176.4);
Tailwind
colors: {
  custom: {
    50: '#57766e',
    500: '#124238',
    950: '#000000',
  },
}
SCSS
$custom: #124238;
$custom-light: #57766e;
$custom-dark: #000000;
JSON
{
  "hex": "#124238",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 167.5,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34381,
    "c": 0.05407,
    "h": 176.4
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#124238
secondary
#7B3543
accent
#4767E0
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #124238

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

Preview Lab → · Contrast checker → · Palette generator →

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