#0D2004#0D2004

#0D2004 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.9% C 0.056 H 136.5°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#0D2004
RGBrgb(13, 32, 4)
HSLhsl(101, 78%, 7%)
HSVhsv(101, 88%, 13%)
CMYKcmyk(59.4%, 0%, 87.5%, 87.5%)
CIE-LABlab(10.01, -14.29, 13.03)
CIE-LCHlch(10.01, 19.34, 137.63°)
OKLaboklab(21.93% -0.0406 0.0386)
OKLCHoklch(21.93% 0.056 136.5)
XYZxyz(0.7044, 1.1273, 0.2953)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2004 #170420
analogous
#1B2004 #0D2004 #042009
triadic
#0D2004 #040D20 #20040D
tetradic
#0D2004 #041B20 #170420 #200904
square
#0D2004 #041B20 #170420 #200904
split-complementary
#0D2004 #090420 #20041B
monochromatic
#0B1B03 #0B1B03 #0D2004 #23560B #398D12

Accessibility & contrast

On white

17.14
#0D2004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0D2004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2004
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2004#FFFFFF#000000##FFFFFF
##0D20041.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C02
Deuteranopia (green-blind)
#1F1B06
Tritanopia (blue-blind)
#0C1E1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d2004;
/* rgb */ color: rgb(13, 32, 4);
/* oklch */ color: oklch(21.9% 0.056 136.5);
Tailwind
colors: {
  custom: {
    50: '#4c5b48',
    500: '#0d2004',
    950: '#000000',
  },
}
SCSS
$custom: #0d2004;
$custom-light: #4c5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2004",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 100.714,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21932,
    "c": 0.05601,
    "h": 136.5
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#0D2004
secondary
#4C1D63
accent
#34F4B6
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0D2004

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

Preview Lab → · Contrast checker → · Palette generator →

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