#12572A#12572A

#12572A is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.100 H 150.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#12572A
RGBrgb(18, 87, 42)
HSLhsl(141, 66%, 21%)
HSVhsv(141, 79%, 34%)
CMYKcmyk(79.3%, 0%, 51.7%, 65.9%)
CIE-LABlab(32.06, -32.15, 20.20)
CIE-LCHlch(32.06, 37.97, 147.86°)
OKLaboklab(40.35% -0.0865 0.0493)
OKLCHoklch(40.35% 0.1 150.3)
XYZxyz(4.0752, 7.1117, 3.3480)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12572A #57123F
analogous
#1C5712 #12572A #12574C
triadic
#12572A #2A1257 #572A12
tetradic
#12572A #121C57 #57123F #574C12
square
#12572A #121C57 #57123F #574C12
split-complementary
#12572A #4C1257 #57121C
monochromatic
#05190C #082412 #12572A #1C8A42 #27BC5B

Accessibility & contrast

On white

8.67
#12572A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#12572A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12572A
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12572A#FFFFFF#000000##FFFFFF
##12572A1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F26
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12572a;
/* rgb */ color: rgb(18, 87, 42);
/* oklch */ color: oklch(40.3% 0.100 150.3);
Tailwind
colors: {
  custom: {
    50: '#5c8764',
    500: '#12572a',
    950: '#000000',
  },
}
SCSS
$custom: #12572a;
$custom-light: #5c8764;
$custom-dark: #000000;
JSON
{
  "hex": "#12572a",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 42
  },
  "hsl": {
    "h": 140.87,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.09955,
    "h": 150.3
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#12572A
secondary
#903570
accent
#3FAEE9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #12572A

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

Preview Lab → · Contrast checker → · Palette generator →

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