#0D2101#0D2101

#0D2101 is a very dark, moderate yellow-green. Relative luminance 0.012; OKLCH L 22.2% C 0.062 H 134.9°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#0D2101
RGBrgb(13, 33, 1)
HSLhsl(98, 94%, 7%)
HSVhsv(98, 97%, 13%)
CMYKcmyk(60.6%, 0%, 97%, 87.1%)
CIE-LABlab(10.37, -15.42, 14.77)
CIE-LCHlch(10.37, 21.35, 136.23°)
OKLaboklab(22.22% -0.0441 0.0442)
OKLCHoklch(22.22% 0.062 134.9)
XYZxyz(0.7153, 1.1754, 0.2179)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2101 #150121
analogous
#1D2101 #0D2101 #012105
triadic
#0D2101 #010D21 #21010D
tetradic
#0D2101 #011D21 #150121 #210501
square
#0D2101 #011D21 #150121 #210501
split-complementary
#0D2101 #050121 #21011D
monochromatic
#0C1E01 #0C1E01 #0D2101 #245C03 #3C9805

Accessibility & contrast

On white

17.00
#0D2101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2101
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2101#FFFFFF#000000##FFFFFF
##0D21011.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231D00
Deuteranopia (green-blind)
#201C03
Tritanopia (blue-blind)
#0C1F1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0d2101;
/* rgb */ color: rgb(13, 33, 1);
/* oklch */ color: oklch(22.2% 0.062 134.9);
Tailwind
colors: {
  custom: {
    50: '#4c5c47',
    500: '#0d2101',
    950: '#000000',
  },
}
SCSS
$custom: #0d2101;
$custom-light: #4c5c47;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2101",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 1
  },
  "hsl": {
    "h": 97.5,
    "s": 94.118,
    "l": 6.667
  },
  "oklch": {
    "l": 0.22216,
    "c": 0.0624,
    "h": 134.9
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#0D2101
secondary
#491568
accent
#29FFAF
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#010400
muted
#777977

Preview Lab

Preview with #0D2101

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

Preview Lab → · Contrast checker → · Palette generator →

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