#0D2001#0D2001

#0D2001 is a very dark, moderate yellow-green. Relative luminance 0.011; OKLCH L 21.9% C 0.061 H 134.5°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#0D2001
RGBrgb(13, 32, 1)
HSLhsl(97, 94%, 6%)
HSVhsv(97, 97%, 13%)
CMYKcmyk(59.4%, 0%, 96.9%, 87.5%)
CIE-LABlab(9.96, -14.74, 14.18)
CIE-LCHlch(9.96, 20.46, 136.11°)
OKLaboklab(21.88% -0.0427 0.0434)
OKLCHoklch(21.88% 0.061 134.5)
XYZxyz(0.6880, 1.1207, 0.2088)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2001 #140120
analogous
#1D2001 #0D2001 #012005
triadic
#0D2001 #010D20 #20010D
tetradic
#0D2001 #011D20 #140120 #200501
square
#0D2001 #011D20 #140120 #200501
split-complementary
#0D2001 #050120 #20011D
monochromatic
#0C1E01 #0C1E01 #0D2001 #255B03 #3D9705

Accessibility & contrast

On white

17.15
#0D2001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0D2001 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2001
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2001#FFFFFF#000000##FFFFFF
##0D20011.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221C00
Deuteranopia (green-blind)
#1F1B03
Tritanopia (blue-blind)
#0D1E1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d2001;
/* rgb */ color: rgb(13, 32, 1);
/* oklch */ color: oklch(21.9% 0.061 134.5);
Tailwind
colors: {
  custom: {
    50: '#4c5b47',
    500: '#0d2001',
    950: '#000000',
  },
}
SCSS
$custom: #0d2001;
$custom-light: #4c5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2001",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 1
  },
  "hsl": {
    "h": 96.774,
    "s": 93.939,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21875,
    "c": 0.06086,
    "h": 134.5
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#0D2001
secondary
#481567
accent
#29FFAC
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#010400
muted
#777977

Preview Lab

Preview with #0D2001

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

Preview Lab → · Contrast checker → · Palette generator →

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