#124852#124852

#124852 is a dark, muted teal. Relative luminance 0.054; OKLCH L 37.2% C 0.057 H 212.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#124852
RGBrgb(18, 72, 82)
HSLhsl(189, 64%, 20%)
HSVhsv(189, 78%, 32%)
CMYKcmyk(78%, 12.2%, 0%, 67.8%)
CIE-LABlab(27.77, -13.46, -11.01)
CIE-LCHlch(27.77, 17.39, 219.29°)
OKLaboklab(37.2% -0.0478 -0.0307)
OKLCHoklch(37.2% 0.057 212.7)
XYZxyz(4.0892, 5.3720, 8.8024)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124852 #521C12
analogous
#12523C #124852 #122852
triadic
#124852 #521248 #485212
tetradic
#124852 #3C1252 #521C12 #285212
square
#124852 #3C1252 #521C12 #285212
split-complementary
#124852 #521228 #523C12
monochromatic
#061619 #071C20 #124852 #1D7484 #28A0B6

Accessibility & contrast

On white

10.12
#124852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#124852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124852
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124852#FFFFFF#000000##FFFFFF
##1248521.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#373F52
Tritanopia (blue-blind)
#004C4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124852;
/* rgb */ color: rgb(18, 72, 82);
/* oklch */ color: oklch(37.2% 0.057 212.7);
Tailwind
colors: {
  custom: {
    50: '#5b7b82',
    500: '#124852',
    950: '#000000',
  },
}
SCSS
$custom: #124852;
$custom-light: #5b7b82;
$custom-dark: #000000;
JSON
{
  "hex": "#124852",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 82
  },
  "hsl": {
    "h": 189.375,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37203,
    "c": 0.05679,
    "h": 212.7
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#124852
secondary
#8B4235
accent
#5B41E7
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #124852

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

Preview Lab → · Contrast checker → · Palette generator →

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