#0D571B#0D571B

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

Color values

HEX#0D571B
RGBrgb(13, 87, 27)
HSLhsl(131, 74%, 20%)
HSVhsv(131, 85%, 34%)
CMYKcmyk(85.1%, 0%, 69%, 65.9%)
CIE-LABlab(31.76, -35.33, 28.00)
CIE-LCHlch(31.76, 45.08, 141.60°)
OKLaboklab(40.01% -0.0952 0.0653)
OKLCHoklch(40.01% 0.115 145.6)
XYZxyz(3.7717, 6.9806, 2.1853)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D571B #570D49
analogous
#24570D #0D571B #0D5740
triadic
#0D571B #1B0D57 #571B0D
tetradic
#0D571B #0D2457 #570D49 #57400D
square
#0D571B #0D2457 #570D49 #57400D
split-complementary
#0D571B #400D57 #570D24
monochromatic
#041B08 #05220A #0D571B #158C2C #1DC13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D571B#FFFFFF#000000##FFFFFF
##0D571B1.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)
#584E14
Deuteranopia (green-blind)
#504920
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0d571b;
/* rgb */ color: rgb(13, 87, 27);
/* oklch */ color: oklch(40.0% 0.115 145.6);
Tailwind
colors: {
  custom: {
    50: '#5b875a',
    500: '#0d571b',
    950: '#000000',
  },
}
SCSS
$custom: #0d571b;
$custom-light: #5b875a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d571b",
  "rgb": {
    "r": 13,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 131.351,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40008,
    "c": 0.11543,
    "h": 145.6
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#0D571B
secondary
#922E7F
accent
#37CEF1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D571B

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

Preview Lab → · Contrast checker → · Palette generator →

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