#12572B#12572B

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

Color values

HEX#12572B
RGBrgb(18, 87, 43)
HSLhsl(142, 66%, 21%)
HSVhsv(142, 79%, 34%)
CMYKcmyk(79.3%, 0%, 50.6%, 65.9%)
CIE-LABlab(32.08, -31.96, 19.64)
CIE-LCHlch(32.08, 37.52, 148.43°)
OKLaboklab(40.37% -0.086 0.0481)
OKLCHoklch(40.37% 0.099 150.8)
XYZxyz(4.0933, 7.1189, 3.4434)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12572B #57123E
analogous
#1B5712 #12572B #12574D
triadic
#12572B #2B1257 #572B12
tetradic
#12572B #121B57 #57123E #574D12
square
#12572B #121B57 #57123E #574D12
split-complementary
#12572B #4D1257 #57121B
monochromatic
#05190D #082412 #12572B #1C8A44 #27BC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12572B#FFFFFF#000000##FFFFFF
##12572B1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F28
Deuteranopia (green-blind)
#4F492E
Tritanopia (blue-blind)
#00554D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12572b;
/* rgb */ color: rgb(18, 87, 43);
/* oklch */ color: oklch(40.4% 0.099 150.8);
Tailwind
colors: {
  custom: {
    50: '#5c8765',
    500: '#12572b',
    950: '#000000',
  },
}
SCSS
$custom: #12572b;
$custom-light: #5c8765;
$custom-dark: #000000;
JSON
{
  "hex": "#12572b",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 43
  },
  "hsl": {
    "h": 141.739,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.09851,
    "h": 150.8
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#12572B
secondary
#90356F
accent
#3FABE9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #12572B

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

Preview Lab → · Contrast checker → · Palette generator →

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