#12572C#12572C

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

Color values

HEX#12572C
RGBrgb(18, 87, 44)
HSLhsl(143, 66%, 21%)
HSVhsv(143, 79%, 34%)
CMYKcmyk(79.3%, 0%, 49.4%, 65.9%)
CIE-LABlab(32.09, -31.77, 19.08)
CIE-LCHlch(32.09, 37.06, 149.02°)
OKLaboklab(40.39% -0.0855 0.0468)
OKLCHoklch(40.39% 0.097 151.3)
XYZxyz(4.1119, 7.1264, 3.5412)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12572C #57123D
analogous
#1A5712 #12572C #12574E
triadic
#12572C #2C1257 #572C12
tetradic
#12572C #121A57 #57123D #574E12
square
#12572C #121A57 #57123D #574E12
split-complementary
#12572C #4E1257 #57121A
monochromatic
#05190D #082412 #12572C #1C8A46 #27BC5F

Accessibility & contrast

On white

8.66
#12572C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12572C
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12572C#FFFFFF#000000##FFFFFF
##12572C1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F29
Deuteranopia (green-blind)
#4F492F
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12572c;
/* rgb */ color: rgb(18, 87, 44);
/* oklch */ color: oklch(40.4% 0.097 151.3);
Tailwind
colors: {
  custom: {
    50: '#5c8766',
    500: '#12572c',
    950: '#000000',
  },
}
SCSS
$custom: #12572c;
$custom-light: #5c8766;
$custom-dark: #000000;
JSON
{
  "hex": "#12572c",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 44
  },
  "hsl": {
    "h": 142.609,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40385,
    "c": 0.09747,
    "h": 151.3
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12572C

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

Preview Lab → · Contrast checker → · Palette generator →

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