#0D2100#0D2100

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

Color values

HEX#0D2100
RGBrgb(13, 33, 0)
HSLhsl(96, 100%, 6%)
HSVhsv(96, 100%, 13%)
CMYKcmyk(60.6%, 0%, 100%, 87.1%)
CIE-LABlab(10.36, -15.57, 15.15)
CIE-LCHlch(10.36, 21.73, 135.78°)
OKLaboklab(22.2% -0.0448 0.0458)
OKLCHoklch(22.2% 0.064 134.3)
XYZxyz(0.7098, 1.1732, 0.1891)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2100 #140021
analogous
#1E2100 #0D2100 #002104
triadic
#0D2100 #000D21 #21000D
tetradic
#0D2100 #001E21 #140021 #210400
square
#0D2100 #001E21 #140021 #210400
split-complementary
#0D2100 #040021 #21001E
monochromatic
#0C1F00 #0C1F00 #0D2100 #255E00 #3D9B00

Accessibility & contrast

On white

17.01
#0D2100 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2100
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2100#FFFFFF#000000##FFFFFF
##0D21001.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d2100;
/* rgb */ color: rgb(13, 33, 0);
/* oklch */ color: oklch(22.2% 0.064 134.3);
Tailwind
colors: {
  custom: {
    50: '#4c5c46',
    500: '#0d2100',
    950: '#000000',
  },
}
SCSS
$custom: #0d2100;
$custom-light: #4c5c46;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2100",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 0
  },
  "hsl": {
    "h": 96.364,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.22197,
    "c": 0.06408,
    "h": 134.3
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#0D2100
secondary
#48136A
accent
#29FFAB
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#010400
muted
#777977

Preview Lab

Preview with #0D2100

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

Preview Lab → · Contrast checker → · Palette generator →

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