#0B400B#0B400B

#0B400B is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.098 H 142.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#0B400B
RGBrgb(11, 64, 11)
HSLhsl(120, 71%, 15%)
HSVhsv(120, 83%, 25%)
CMYKcmyk(82.8%, 0%, 82.8%, 74.9%)
CIE-LABlab(22.87, -28.77, 26.05)
CIE-LCHlch(22.87, 38.81, 137.85°)
OKLaboklab(32.56% -0.0781 0.059)
OKLCHoklch(32.56% 0.098 142.9)
XYZxyz(2.0317, 3.7619, 0.9356)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B400B #400B40
analogous
#26400B #0B400B #0B4026
triadic
#0B400B #0B0B40 #400B0B
tetradic
#0B400B #0B2640 #400B40 #40260B
square
#0B400B #0B2640 #400B40 #40260B
split-complementary
#0B400B #260B40 #400B26
monochromatic
#041A04 #041A04 #0B400B #147414 #1DA81D

Accessibility & contrast

On white

11.98
#0B400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#0B400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B400B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B400B#FFFFFF#000000##FFFFFF
##0B400B1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423903
Deuteranopia (green-blind)
#3C3511
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0b400b;
/* rgb */ color: rgb(11, 64, 11);
/* oklch */ color: oklch(32.6% 0.098 142.9);
Tailwind
colors: {
  custom: {
    50: '#55754e',
    500: '#0b400b',
    950: '#000000',
  },
}
SCSS
$custom: #0b400b;
$custom-light: #55754e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b400b",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 120,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32562,
    "c": 0.0979,
    "h": 142.9
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#0B400B
secondary
#7D2A7D
accent
#3AEDED
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0B400B

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

Preview Lab → · Contrast checker → · Palette generator →

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