#12472C#12472C

#12472C is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.5% C 0.073 H 156.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#12472C
RGBrgb(18, 71, 44)
HSLhsl(149, 60%, 17%)
HSVhsv(149, 75%, 28%)
CMYKcmyk(74.6%, 0%, 38%, 72.2%)
CIE-LABlab(26.21, -24.67, 11.33)
CIE-LCHlch(26.21, 27.14, 155.33°)
OKLaboklab(35.53% -0.0669 0.0286)
OKLCHoklch(35.53% 0.073 156.9)
XYZxyz(2.9570, 4.8166, 3.1562)
Luminance0.0482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12472C #47122D
analogous
#124712 #12472C #124747
triadic
#12472C #2C1247 #472C12
tetradic
#12472C #121247 #47122D #474712
square
#12472C #121247 #47122D #474712
split-complementary
#12472C #471247 #471212
monochromatic
#06180F #06180F #12472C #1E784A #2BA969

Accessibility & contrast

On white

10.70
#12472C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#12472C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12472C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12472C#FFFFFF#000000##FFFFFF
##12472C1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412A
Deuteranopia (green-blind)
#403C2E
Tritanopia (blue-blind)
#004640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12472c;
/* rgb */ color: rgb(18, 71, 44);
/* oklch */ color: oklch(35.5% 0.073 156.9);
Tailwind
colors: {
  custom: {
    50: '#587b65',
    500: '#12472c',
    950: '#000000',
  },
}
SCSS
$custom: #12472c;
$custom-light: #587b65;
$custom-dark: #000000;
JSON
{
  "hex": "#12472c",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 44
  },
  "hsl": {
    "h": 149.434,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35533,
    "c": 0.07276,
    "h": 156.9
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#12472C
secondary
#80355B
accent
#4595E3
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #12472C

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

Preview Lab → · Contrast checker → · Palette generator →

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