#0D2002#0D2002

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

Color values

HEX#0D2002
RGBrgb(13, 32, 2)
HSLhsl(98, 88%, 7%)
HSVhsv(98, 94%, 13%)
CMYKcmyk(59.4%, 0%, 93.8%, 87.5%)
CIE-LABlab(9.98, -14.60, 13.80)
CIE-LCHlch(9.98, 20.09, 136.60°)
OKLaboklab(21.89% -0.0419 0.0418)
OKLCHoklch(21.89% 0.059 135.1)
XYZxyz(0.6934, 1.1229, 0.2376)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2002 #150220
analogous
#1C2002 #0D2002 #022006
triadic
#0D2002 #020D20 #20020D
tetradic
#0D2002 #021C20 #150220 #200602
square
#0D2002 #021C20 #150220 #200602
split-complementary
#0D2002 #060220 #20021C
monochromatic
#0C1D02 #0C1D02 #0D2002 #245A06 #3C9309

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D2002#FFFFFF#000000##FFFFFF
##0D20021.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)
#1F1B04
Tritanopia (blue-blind)
#0C1E1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d2002;
/* rgb */ color: rgb(13, 32, 2);
/* oklch */ color: oklch(21.9% 0.059 135.1);
Tailwind
colors: {
  custom: {
    50: '#4c5b47',
    500: '#0d2002',
    950: '#000000',
  },
}
SCSS
$custom: #0d2002;
$custom-light: #4c5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2002",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 98,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21894,
    "c": 0.05919,
    "h": 135.1
  },
  "luminance": 0.01123
}

Semantic roles & 50–950 ramp

primary
#0D2002
secondary
#491866
accent
#29FEB0
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0D2002

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

Preview Lab → · Contrast checker → · Palette generator →

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