#0D2202#0D2202

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

Color values

HEX#0D2202
RGBrgb(13, 34, 2)
HSLhsl(99, 89%, 7%)
HSVhsv(99, 94%, 13%)
CMYKcmyk(61.8%, 0%, 94.1%, 86.7%)
CIE-LABlab(10.81, -15.90, 14.97)
CIE-LCHlch(10.81, 21.84, 136.73°)
OKLaboklab(22.58% -0.0448 0.0434)
OKLCHoklch(22.58% 0.062 135.9)
XYZxyz(0.7489, 1.2340, 0.2561)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2202 #170222
analogous
#1D2202 #0D2202 #022207
triadic
#0D2202 #020D22 #22020D
tetradic
#0D2202 #021D22 #170222 #220702
square
#0D2202 #021D22 #170222 #220702
split-complementary
#0D2202 #070222 #22021D
monochromatic
#0B1D02 #0B1D02 #0D2202 #235C05 #399609

Accessibility & contrast

On white

16.84
#0D2202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0D2202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2202
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2202#FFFFFF#000000##FFFFFF
##0D22021.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#211C04
Tritanopia (blue-blind)
#0C201B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d2202;
/* rgb */ color: rgb(13, 34, 2);
/* oklch */ color: oklch(22.6% 0.062 135.9);
Tailwind
colors: {
  custom: {
    50: '#4c5d47',
    500: '#0d2202',
    950: '#000000',
  },
}
SCSS
$custom: #0d2202;
$custom-light: #4c5d47;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2202",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 99.375,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22575,
    "c": 0.06235,
    "h": 135.9
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#0D2202
secondary
#4C1868
accent
#29FFB5
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0D2202

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

Preview Lab → · Contrast checker → · Palette generator →

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