#12472A#12472A

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

Color values

HEX#12472A
RGBrgb(18, 71, 42)
HSLhsl(147, 60%, 17%)
HSVhsv(147, 75%, 28%)
CMYKcmyk(74.6%, 0%, 40.8%, 72.2%)
CIE-LABlab(26.16, -25.13, 12.54)
CIE-LCHlch(26.16, 28.09, 153.49°)
OKLaboklab(35.48% -0.068 0.0314)
OKLCHoklch(35.48% 0.075 155.2)
XYZxyz(2.9203, 4.8019, 2.9630)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12472A #47122F
analogous
#144712 #12472A #124745
triadic
#12472A #2A1247 #472A12
tetradic
#12472A #121447 #47122F #474512
square
#12472A #121447 #47122F #474512
split-complementary
#12472A #451247 #471214
monochromatic
#06180E #06180E #12472A #1E7847 #2BA964

Accessibility & contrast

On white

10.71
#12472A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12472A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12472A#FFFFFF#000000##FFFFFF
##12472A1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474128
Deuteranopia (green-blind)
#403C2C
Tritanopia (blue-blind)
#004640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12472a;
/* rgb */ color: rgb(18, 71, 42);
/* oklch */ color: oklch(35.5% 0.075 155.2);
Tailwind
colors: {
  custom: {
    50: '#587b63',
    500: '#12472a',
    950: '#000000',
  },
}
SCSS
$custom: #12472a;
$custom-light: #587b63;
$custom-dark: #000000;
JSON
{
  "hex": "#12472a",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 42
  },
  "hsl": {
    "h": 147.17,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35483,
    "c": 0.07494,
    "h": 155.2
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#12472A
secondary
#80355E
accent
#459BE3
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #12472A

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

Preview Lab → · Contrast checker → · Palette generator →

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