#12572E#12572E

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

Color values

HEX#12572E
RGBrgb(18, 87, 46)
HSLhsl(144, 66%, 21%)
HSVhsv(144, 79%, 34%)
CMYKcmyk(79.3%, 0%, 47.1%, 65.9%)
CIE-LABlab(32.13, -31.38, 17.94)
CIE-LCHlch(32.13, 36.14, 150.24°)
OKLaboklab(40.42% -0.0845 0.0443)
OKLCHoklch(40.42% 0.095 152.3)
XYZxyz(4.1504, 7.1418, 3.7440)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12572E #57123B
analogous
#185712 #12572E #125750
triadic
#12572E #2E1257 #572E12
tetradic
#12572E #121857 #57123B #575012
square
#12572E #121857 #57123B #575012
split-complementary
#12572E #501257 #571218
monochromatic
#05190D #082413 #12572E #1C8A49 #27BC64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12572E#FFFFFF#000000##FFFFFF
##12572E1.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)
#574F2B
Deuteranopia (green-blind)
#4F4931
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12572e;
/* rgb */ color: rgb(18, 87, 46);
/* oklch */ color: oklch(40.4% 0.095 152.3);
Tailwind
colors: {
  custom: {
    50: '#5c8767',
    500: '#12572e',
    950: '#000000',
  },
}
SCSS
$custom: #12572e;
$custom-light: #5c8767;
$custom-dark: #000000;
JSON
{
  "hex": "#12572e",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 46
  },
  "hsl": {
    "h": 144.348,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40425,
    "c": 0.09536,
    "h": 152.3
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12572E

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

Preview Lab → · Contrast checker → · Palette generator →

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