#0D5821#0D5821

#0D5821 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.4% C 0.111 H 147.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#0D5821
RGBrgb(13, 88, 33)
HSLhsl(136, 74%, 20%)
HSVhsv(136, 85%, 35%)
CMYKcmyk(85.2%, 0%, 62.5%, 65.5%)
CIE-LABlab(32.20, -34.86, 25.39)
CIE-LCHlch(32.20, 43.13, 143.93°)
OKLaboklab(40.39% -0.0937 0.0603)
OKLCHoklch(40.39% 0.111 147.3)
XYZxyz(3.9299, 7.1743, 2.6162)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5821 #580D44
analogous
#1F580D #0D5821 #0D5847
triadic
#0D5821 #210D58 #58210D
tetradic
#0D5821 #0D1F58 #580D44 #58470D
square
#0D5821 #0D1F58 #580D44 #58470D
split-complementary
#0D5821 #470D58 #580D1F
monochromatic
#041B0A #05230D #0D5821 #158D35 #1DC349

Accessibility & contrast

On white

8.62
#0D5821 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0D5821 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5821
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5821#FFFFFF#000000##FFFFFF
##0D58211.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1C
Deuteranopia (green-blind)
#514925
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0d5821;
/* rgb */ color: rgb(13, 88, 33);
/* oklch */ color: oklch(40.4% 0.111 147.3);
Tailwind
colors: {
  custom: {
    50: '#5b885e',
    500: '#0d5821',
    950: '#000000',
  },
}
SCSS
$custom: #0d5821;
$custom-light: #5b885e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5821",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 33
  },
  "hsl": {
    "h": 136,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40394,
    "c": 0.11144,
    "h": 147.3
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#0D5821
secondary
#932E78
accent
#37BFF1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D5821

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

Preview Lab → · Contrast checker → · Palette generator →

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