#12572F#12572F

#12572F is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.094 H 152.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#12572F
RGBrgb(18, 87, 47)
HSLhsl(145, 66%, 21%)
HSVhsv(145, 79%, 34%)
CMYKcmyk(79.3%, 0%, 46%, 65.9%)
CIE-LABlab(32.15, -31.17, 17.37)
CIE-LCHlch(32.15, 35.68, 150.87°)
OKLaboklab(40.45% -0.0839 0.043)
OKLCHoklch(40.45% 0.094 152.9)
XYZxyz(4.1704, 7.1497, 3.8490)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12572F #57123A
analogous
#185712 #12572F #125751
triadic
#12572F #2F1257 #572F12
tetradic
#12572F #121857 #57123A #575112
square
#12572F #121857 #57123A #575112
split-complementary
#12572F #511257 #571218
monochromatic
#05190E #082414 #12572F #1C8A4A #27BC66

Accessibility & contrast

On white

8.64
#12572F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#12572F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12572F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12572F#FFFFFF#000000##FFFFFF
##12572F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2C
Deuteranopia (green-blind)
#4F4932
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12572f;
/* rgb */ color: rgb(18, 87, 47);
/* oklch */ color: oklch(40.4% 0.094 152.9);
Tailwind
colors: {
  custom: {
    50: '#5c8768',
    500: '#12572f',
    950: '#000000',
  },
}
SCSS
$custom: #12572f;
$custom-light: #5c8768;
$custom-dark: #000000;
JSON
{
  "hex": "#12572f",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 47
  },
  "hsl": {
    "h": 145.217,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40446,
    "c": 0.0943,
    "h": 152.9
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#12572F
secondary
#90356A
accent
#3FA1E9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12572F

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

Preview Lab → · Contrast checker → · Palette generator →

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