#12572D#12572D

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

Color values

HEX#12572D
RGBrgb(18, 87, 45)
HSLhsl(143, 66%, 21%)
HSVhsv(143, 79%, 34%)
CMYKcmyk(79.3%, 0%, 48.3%, 65.9%)
CIE-LABlab(32.11, -31.58, 18.51)
CIE-LCHlch(32.11, 36.60, 149.62°)
OKLaboklab(40.41% -0.085 0.0456)
OKLCHoklch(40.41% 0.096 151.8)
XYZxyz(4.1309, 7.1340, 3.6414)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12572D #57123C
analogous
#1A5712 #12572D #12574F
triadic
#12572D #2D1257 #572D12
tetradic
#12572D #121A57 #57123C #574F12
square
#12572D #121A57 #57123C #574F12
split-complementary
#12572D #4F1257 #57121A
monochromatic
#05190D #082413 #12572D #1C8A47 #27BC61

Accessibility & contrast

On white

8.65
#12572D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12572D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12572D#FFFFFF#000000##FFFFFF
##12572D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12572d;
/* rgb */ color: rgb(18, 87, 45);
/* oklch */ color: oklch(40.4% 0.096 151.8);
Tailwind
colors: {
  custom: {
    50: '#5c8766',
    500: '#12572d',
    950: '#000000',
  },
}
SCSS
$custom: #12572d;
$custom-light: #5c8766;
$custom-dark: #000000;
JSON
{
  "hex": "#12572d",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 45
  },
  "hsl": {
    "h": 143.478,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.09641,
    "h": 151.8
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#12572D
secondary
#90356C
accent
#3FA6E9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12572D

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

Preview Lab → · Contrast checker → · Palette generator →

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