#0D5628#0D5628

#0D5628 is a dark, moderate green. Relative luminance 0.069; OKLCH L 39.9% C 0.102 H 150.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#0D5628
RGBrgb(13, 86, 40)
HSLhsl(142, 74%, 19%)
HSVhsv(142, 85%, 34%)
CMYKcmyk(84.9%, 0%, 53.5%, 66.3%)
CIE-LABlab(31.56, -32.91, 20.72)
CIE-LCHlch(31.56, 38.89, 147.81°)
OKLaboklab(39.9% -0.0884 0.0504)
OKLCHoklch(39.9% 0.102 150.3)
XYZxyz(3.8764, 6.8939, 3.1334)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5628 #560D3B
analogous
#17560D #0D5628 #0D564D
triadic
#0D5628 #280D56 #56280D
tetradic
#0D5628 #0D1756 #560D3B #564D0D
square
#0D5628 #0D1756 #560D3B #564D0D
split-complementary
#0D5628 #4D0D56 #560D17
monochromatic
#041B0C #05210F #0D5628 #158B41 #1DC059

Accessibility & contrast

On white

8.83
#0D5628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#0D5628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5628
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5628#FFFFFF#000000##FFFFFF
##0D56281.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E24
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0d5628;
/* rgb */ color: rgb(13, 86, 40);
/* oklch */ color: oklch(39.9% 0.102 150.3);
Tailwind
colors: {
  custom: {
    50: '#5a8663',
    500: '#0d5628',
    950: '#000000',
  },
}
SCSS
$custom: #0d5628;
$custom-light: #5a8663;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5628",
  "rgb": {
    "r": 13,
    "g": 86,
    "b": 40
  },
  "hsl": {
    "h": 142.192,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39898,
    "c": 0.10173,
    "h": 150.3
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#0D5628
secondary
#912E6C
accent
#37ACF0
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0D5628

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

Preview Lab → · Contrast checker → · Palette generator →

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