#12472B#12472B

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

Color values

HEX#12472B
RGBrgb(18, 71, 43)
HSLhsl(148, 60%, 17%)
HSVhsv(148, 75%, 28%)
CMYKcmyk(74.6%, 0%, 39.4%, 72.2%)
CIE-LABlab(26.18, -24.90, 11.94)
CIE-LCHlch(26.18, 27.61, 154.39°)
OKLaboklab(35.51% -0.0675 0.03)
OKLCHoklch(35.51% 0.074 156)
XYZxyz(2.9385, 4.8092, 3.0584)
Luminance0.0481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12472B #47122E
analogous
#134712 #12472B #124746
triadic
#12472B #2B1247 #472B12
tetradic
#12472B #121347 #47122E #474612
square
#12472B #121347 #47122E #474612
split-complementary
#12472B #461247 #471213
monochromatic
#06180F #06180F #12472B #1E7849 #2BA966

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12472B#FFFFFF#000000##FFFFFF
##12472B1.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)
#474129
Deuteranopia (green-blind)
#403C2D
Tritanopia (blue-blind)
#004640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12472b;
/* rgb */ color: rgb(18, 71, 43);
/* oklch */ color: oklch(35.5% 0.074 156.0);
Tailwind
colors: {
  custom: {
    50: '#587b64',
    500: '#12472b',
    950: '#000000',
  },
}
SCSS
$custom: #12472b;
$custom-light: #587b64;
$custom-dark: #000000;
JSON
{
  "hex": "#12472b",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 43
  },
  "hsl": {
    "h": 148.302,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35508,
    "c": 0.07384,
    "h": 156
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12472B

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

Preview Lab → · Contrast checker → · Palette generator →

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