#12472E#12472E

#12472E is a dark, moderate teal. Relative luminance 0.048; OKLCH L 35.6% C 0.071 H 158.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#12472E
RGBrgb(18, 71, 46)
HSLhsl(152, 60%, 17%)
HSVhsv(152, 75%, 28%)
CMYKcmyk(74.6%, 0%, 35.2%, 72.2%)
CIE-LABlab(26.25, -24.18, 10.12)
CIE-LCHlch(26.25, 26.21, 157.29°)
OKLaboklab(35.58% -0.0658 0.0256)
OKLCHoklch(35.58% 0.071 158.7)
XYZxyz(2.9955, 4.8320, 3.3590)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12472E #47122B
analogous
#124713 #12472E #124647
triadic
#12472E #2E1247 #472E12
tetradic
#12472E #131247 #47122B #464712
square
#12472E #131247 #47122B #464712
split-complementary
#12472E #471246 #471312
monochromatic
#061810 #061810 #12472E #1E784E #2BA96D

Accessibility & contrast

On white

10.68
#12472E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#12472E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12472E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12472E#FFFFFF#000000##FFFFFF
##12472E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412C
Deuteranopia (green-blind)
#3F3C30
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12472e;
/* rgb */ color: rgb(18, 71, 46);
/* oklch */ color: oklch(35.6% 0.071 158.7);
Tailwind
colors: {
  custom: {
    50: '#587b66',
    500: '#12472e',
    950: '#000000',
  },
}
SCSS
$custom: #12472e;
$custom-light: #587b66;
$custom-dark: #000000;
JSON
{
  "hex": "#12472e",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 46
  },
  "hsl": {
    "h": 151.698,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35584,
    "c": 0.07062,
    "h": 158.7
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#12472E
secondary
#803558
accent
#458FE3
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #12472E

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

Preview Lab → · Contrast checker → · Palette generator →

#12472E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva