#0B2002#0B2002

#0B2002 is a very dark, moderate green. Relative luminance 0.011; OKLCH L 21.8% C 0.061 H 136.7°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#0B2002
RGBrgb(11, 32, 2)
HSLhsl(102, 88%, 7%)
HSVhsv(102, 94%, 13%)
CMYKcmyk(65.6%, 0%, 93.8%, 87.5%)
CIE-LABlab(9.86, -15.26, 13.63)
CIE-LCHlch(9.86, 20.46, 138.23°)
OKLaboklab(21.77% -0.044 0.0415)
OKLCHoklch(21.77% 0.061 136.7)
XYZxyz(0.6655, 1.1085, 0.2363)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2002 #170220
analogous
#1A2002 #0B2002 #022008
triadic
#0B2002 #020B20 #20020B
tetradic
#0B2002 #021A20 #170220 #200802
square
#0B2002 #021A20 #170220 #200802
split-complementary
#0B2002 #080220 #20021A
monochromatic
#0A1D02 #0A1D02 #0B2002 #1F5A06 #339309

Accessibility & contrast

On white

17.19
#0B2002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2002
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2002#FFFFFF#000000##FFFFFF
##0B20021.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C00
Deuteranopia (green-blind)
#1F1B04
Tritanopia (blue-blind)
#0A1E1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0b2002;
/* rgb */ color: rgb(11, 32, 2);
/* oklch */ color: oklch(21.8% 0.061 136.7);
Tailwind
colors: {
  custom: {
    50: '#4b5b47',
    500: '#0b2002',
    950: '#000000',
  },
}
SCSS
$custom: #0b2002;
$custom-light: #4b5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2002",
  "rgb": {
    "r": 11,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 102,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21771,
    "c": 0.06051,
    "h": 136.7
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#0B2002
secondary
#4E1866
accent
#29FEBE
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0B2002

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

Preview Lab → · Contrast checker → · Palette generator →

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