#0D571C#0D571C

#0D571C is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.115 H 145.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#0D571C
RGBrgb(13, 87, 28)
HSLhsl(132, 74%, 20%)
HSVhsv(132, 85%, 34%)
CMYKcmyk(85.1%, 0%, 67.8%, 65.9%)
CIE-LABlab(31.77, -35.20, 27.51)
CIE-LCHlch(31.77, 44.67, 141.99°)
OKLaboklab(40.02% -0.0948 0.0643)
OKLCHoklch(40.02% 0.115 145.8)
XYZxyz(3.7835, 6.9853, 2.2473)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D571C #570D48
analogous
#23570D #0D571C #0D5741
triadic
#0D571C #1C0D57 #571C0D
tetradic
#0D571C #0D2357 #570D48 #57410D
square
#0D571C #0D2357 #570D48 #57410D
split-complementary
#0D571C #410D57 #570D23
monochromatic
#041B09 #05220B #0D571C #158C2D #1DC13E

Accessibility & contrast

On white

8.76
#0D571C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#0D571C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D571C
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D571C#FFFFFF#000000##FFFFFF
##0D571C1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d571c;
/* rgb */ color: rgb(13, 87, 28);
/* oklch */ color: oklch(40.0% 0.115 145.8);
Tailwind
colors: {
  custom: {
    50: '#5b875b',
    500: '#0d571c',
    950: '#000000',
  },
}
SCSS
$custom: #0d571c;
$custom-light: #5b875b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d571c",
  "rgb": {
    "r": 13,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 132.162,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4002,
    "c": 0.11458,
    "h": 145.8
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#0D571C
secondary
#922E7D
accent
#37CBF1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D571C

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

Preview Lab → · Contrast checker → · Palette generator →

#0D571C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva