#12492F#12492F

#12492F is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.2% C 0.073 H 158.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#12492F
RGBrgb(18, 73, 47)
HSLhsl(152, 60%, 18%)
HSVhsv(152, 75%, 29%)
CMYKcmyk(75.3%, 0%, 35.6%, 71.4%)
CIE-LABlab(27.01, -24.89, 10.53)
CIE-LCHlch(27.01, 27.02, 157.07°)
OKLaboklab(36.22% -0.0677 0.0266)
OKLCHoklch(36.22% 0.073 158.5)
XYZxyz(3.1448, 5.0986, 3.5072)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12492F #49122C
analogous
#124913 #12492F #124749
triadic
#12492F #2F1249 #492F12
tetradic
#12492F #131249 #49122C #474912
square
#12492F #131249 #49122C #474912
split-complementary
#12492F #491247 #491312
monochromatic
#061910 #061910 #12492F #1E7A4F #2AAB6E

Accessibility & contrast

On white

10.40
#12492F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#12492F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12492F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12492F#FFFFFF#000000##FFFFFF
##12492F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48432D
Deuteranopia (green-blind)
#413E31
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #12492f;
/* rgb */ color: rgb(18, 73, 47);
/* oklch */ color: oklch(36.2% 0.073 158.5);
Tailwind
colors: {
  custom: {
    50: '#587c67',
    500: '#12492f',
    950: '#000000',
  },
}
SCSS
$custom: #12492f;
$custom-light: #587c67;
$custom-dark: #000000;
JSON
{
  "hex": "#12492f",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 47
  },
  "hsl": {
    "h": 151.636,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36219,
    "c": 0.07273,
    "h": 158.5
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#12492F
secondary
#823559
accent
#4490E4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #12492F

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

Preview Lab → · Contrast checker → · Palette generator →

#12492F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva