#0D5822#0D5822

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

Color values

HEX#0D5822
RGBrgb(13, 88, 34)
HSLhsl(137, 74%, 20%)
HSVhsv(137, 85%, 35%)
CMYKcmyk(85.2%, 0%, 61.4%, 65.5%)
CIE-LABlab(32.21, -34.71, 24.87)
CIE-LCHlch(32.21, 42.70, 144.38°)
OKLaboklab(40.41% -0.0933 0.0592)
OKLCHoklch(40.41% 0.111 147.6)
XYZxyz(3.9441, 7.1800, 2.6911)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5822 #580D43
analogous
#1E580D #0D5822 #0D5848
triadic
#0D5822 #220D58 #58220D
tetradic
#0D5822 #0D1E58 #580D43 #58480D
square
#0D5822 #0D1E58 #580D43 #58480D
split-complementary
#0D5822 #480D58 #580D1E
monochromatic
#041B0A #05230D #0D5822 #158D37 #1DC34B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D5822#FFFFFF#000000##FFFFFF
##0D58221.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d5822;
/* rgb */ color: rgb(13, 88, 34);
/* oklch */ color: oklch(40.4% 0.111 147.6);
Tailwind
colors: {
  custom: {
    50: '#5b885f',
    500: '#0d5822',
    950: '#000000',
  },
}
SCSS
$custom: #0d5822;
$custom-light: #5b885f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5822",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 34
  },
  "hsl": {
    "h": 136.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.1105,
    "h": 147.6
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#0D5822
secondary
#932E76
accent
#37BDF1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D5822

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

Preview Lab → · Contrast checker → · Palette generator →

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