#0D5827#0D5827

#0D5827 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.106 H 149.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#0D5827
RGBrgb(13, 88, 39)
HSLhsl(141, 74%, 20%)
HSVhsv(141, 85%, 35%)
CMYKcmyk(85.2%, 0%, 55.7%, 65.5%)
CIE-LABlab(32.28, -33.88, 22.18)
CIE-LCHlch(32.28, 40.50, 146.79°)
OKLaboklab(40.49% -0.091 0.0536)
OKLCHoklch(40.49% 0.106 149.5)
XYZxyz(4.0216, 7.2110, 3.0990)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5827 #580D3E
analogous
#19580D #0D5827 #0D584D
triadic
#0D5827 #270D58 #58270D
tetradic
#0D5827 #0D1958 #580D3E #584D0D
square
#0D5827 #0D1958 #580D3E #584D0D
split-complementary
#0D5827 #4D0D58 #580D19
monochromatic
#041B0C #05230F #0D5827 #158D3F #1DC356

Accessibility & contrast

On white

8.60
#0D5827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0D5827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5827
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5827#FFFFFF#000000##FFFFFF
##0D58271.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595023
Deuteranopia (green-blind)
#504A2B
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0d5827;
/* rgb */ color: rgb(13, 88, 39);
/* oklch */ color: oklch(40.5% 0.106 149.5);
Tailwind
colors: {
  custom: {
    50: '#5b8862',
    500: '#0d5827',
    950: '#000000',
  },
}
SCSS
$custom: #0d5827;
$custom-light: #5b8862;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5827",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 39
  },
  "hsl": {
    "h": 140.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.10561,
    "h": 149.5
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#0D5827
secondary
#932E70
accent
#37B0F1
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0D5827

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

Preview Lab → · Contrast checker → · Palette generator →

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