#12571E#12571E

#12571E is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.111 H 145.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#12571E
RGBrgb(18, 87, 30)
HSLhsl(130, 66%, 21%)
HSVhsv(130, 79%, 34%)
CMYKcmyk(79.3%, 0%, 65.5%, 65.9%)
CIE-LABlab(31.89, -34.11, 26.64)
CIE-LCHlch(31.89, 43.28, 142.00°)
OKLaboklab(40.16% -0.092 0.0627)
OKLCHoklch(40.16% 0.111 145.7)
XYZxyz(3.8917, 7.0383, 2.3815)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12571E #57124B
analogous
#285712 #12571E #125740
triadic
#12571E #1E1257 #571E12
tetradic
#12571E #122857 #57124B #574012
square
#12571E #122857 #57124B #574012
split-complementary
#12571E #401257 #571228
monochromatic
#051909 #08240D #12571E #1C8A2F #27BC41

Accessibility & contrast

On white

8.72
#12571E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#12571E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12571E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12571E#FFFFFF#000000##FFFFFF
##12571E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E18
Deuteranopia (green-blind)
#514923
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12571e;
/* rgb */ color: rgb(18, 87, 30);
/* oklch */ color: oklch(40.2% 0.111 145.7);
Tailwind
colors: {
  custom: {
    50: '#5c875c',
    500: '#12571e',
    950: '#000000',
  },
}
SCSS
$custom: #12571e;
$custom-light: #5c875c;
$custom-dark: #000000;
JSON
{
  "hex": "#12571e",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 130.435,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40156,
    "c": 0.11131,
    "h": 145.7
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#12571E
secondary
#903580
accent
#3FCBE9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12571E

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

Preview Lab → · Contrast checker → · Palette generator →

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