#12472F#12472F

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

Color values

HEX#12472F
RGBrgb(18, 71, 47)
HSLhsl(153, 60%, 17%)
HSVhsv(153, 75%, 28%)
CMYKcmyk(74.6%, 0%, 33.8%, 72.2%)
CIE-LABlab(26.27, -23.93, 9.51)
CIE-LCHlch(26.27, 25.75, 158.32°)
OKLaboklab(35.61% -0.0652 0.0241)
OKLCHoklch(35.61% 0.07 159.7)
XYZxyz(3.0155, 4.8400, 3.4641)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12472F #47122A
analogous
#124714 #12472F #124547
triadic
#12472F #2F1247 #472F12
tetradic
#12472F #141247 #47122A #454712
square
#12472F #141247 #47122A #454712
split-complementary
#12472F #471245 #471412
monochromatic
#061810 #061810 #12472F #1E784F #2BA970

Accessibility & contrast

On white

10.67
#12472F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12472F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12472F#FFFFFF#000000##FFFFFF
##12472F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412E
Deuteranopia (green-blind)
#3F3C31
Tritanopia (blue-blind)
#004741
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12472f;
/* rgb */ color: rgb(18, 71, 47);
/* oklch */ color: oklch(35.6% 0.070 159.7);
Tailwind
colors: {
  custom: {
    50: '#587b67',
    500: '#12472f',
    950: '#000000',
  },
}
SCSS
$custom: #12472f;
$custom-light: #587b67;
$custom-dark: #000000;
JSON
{
  "hex": "#12472f",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 47
  },
  "hsl": {
    "h": 152.83,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35611,
    "c": 0.06957,
    "h": 159.7
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#12472F
secondary
#803557
accent
#458CE3
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #12472F

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

Preview Lab → · Contrast checker → · Palette generator →

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