#0B2102#0B2102

#0B2102 is a very dark, moderate green. Relative luminance 0.012; OKLCH L 22.1% C 0.062 H 137.0°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#0B2102
RGBrgb(11, 33, 2)
HSLhsl(103, 89%, 7%)
HSVhsv(103, 94%, 13%)
CMYKcmyk(66.7%, 0%, 93.9%, 87.1%)
CIE-LABlab(10.28, -15.94, 14.22)
CIE-LCHlch(10.28, 21.36, 138.27°)
OKLaboklab(22.12% -0.0454 0.0423)
OKLCHoklch(22.12% 0.062 137)
XYZxyz(0.6928, 1.1632, 0.2454)
Luminance0.0116 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2102 #180221
analogous
#1B2102 #0B2102 #022109
triadic
#0B2102 #020B21 #21020B
tetradic
#0B2102 #021B21 #180221 #210902
square
#0B2102 #021B21 #180221 #210902
split-complementary
#0B2102 #090221 #21021B
monochromatic
#0A1D02 #0A1D02 #0B2102 #1E5B05 #319409

Accessibility & contrast

On white

17.04
#0B2102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2102
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2102#FFFFFF#000000##FFFFFF
##0B21021.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D00
Deuteranopia (green-blind)
#201B04
Tritanopia (blue-blind)
#0A1F1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b2102;
/* rgb */ color: rgb(11, 33, 2);
/* oklch */ color: oklch(22.1% 0.062 137.0);
Tailwind
colors: {
  custom: {
    50: '#4b5c47',
    500: '#0b2102',
    950: '#000000',
  },
}
SCSS
$custom: #0b2102;
$custom-light: #4b5c47;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2102",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 102.581,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22116,
    "c": 0.06207,
    "h": 137
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#0B2102
secondary
#501867
accent
#29FFC1
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0B2102

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

Preview Lab → · Contrast checker → · Palette generator →

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