#0B2004#0B2004

#0B2004 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.8% C 0.057 H 138.1°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#0B2004
RGBrgb(11, 32, 4)
HSLhsl(105, 78%, 7%)
HSVhsv(105, 88%, 13%)
CMYKcmyk(65.6%, 0%, 87.5%, 87.5%)
CIE-LABlab(9.90, -14.96, 12.86)
CIE-LCHlch(9.90, 19.73, 139.31°)
OKLaboklab(21.81% -0.0427 0.0383)
OKLCHoklch(21.81% 0.057 138.1)
XYZxyz(0.6764, 1.1129, 0.2940)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2004 #190420
analogous
#192004 #0B2004 #04200B
triadic
#0B2004 #040B20 #20040B
tetradic
#0B2004 #041920 #190420 #200B04
square
#0B2004 #041920 #190420 #200B04
split-complementary
#0B2004 #0B0420 #200419
monochromatic
#091B03 #091B03 #0B2004 #1E560B #308D12

Accessibility & contrast

On white

17.18
#0B2004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2004
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2004#FFFFFF#000000##FFFFFF
##0B20041.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C02
Deuteranopia (green-blind)
#1F1B06
Tritanopia (blue-blind)
#091F1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0b2004;
/* rgb */ color: rgb(11, 32, 4);
/* oklch */ color: oklch(21.8% 0.057 138.1);
Tailwind
colors: {
  custom: {
    50: '#4b5b48',
    500: '#0b2004',
    950: '#000000',
  },
}
SCSS
$custom: #0b2004;
$custom-light: #4b5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2004",
  "rgb": {
    "r": 11,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 105,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.2181,
    "c": 0.05735,
    "h": 138.1
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#0B2004
secondary
#511D63
accent
#34F4C4
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0B2004

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

Preview Lab → · Contrast checker → · Palette generator →

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