#0B4004#0B4004

#0B4004 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.5% C 0.103 H 141.4°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#0B4004
RGBrgb(11, 64, 4)
HSLhsl(113, 88%, 13%)
HSVhsv(113, 94%, 25%)
CMYKcmyk(82.8%, 0%, 93.8%, 74.9%)
CIE-LABlab(22.82, -29.42, 28.85)
CIE-LCHlch(22.82, 41.21, 135.56°)
OKLaboklab(32.5% -0.0803 0.0642)
OKLCHoklch(32.5% 0.103 141.4)
XYZxyz(1.9932, 3.7465, 0.7329)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4004 #390440
analogous
#294004 #0B4004 #04401B
triadic
#0B4004 #040B40 #40040B
tetradic
#0B4004 #042940 #390440 #401B04
square
#0B4004 #042940 #390440 #401B04
split-complementary
#0B4004 #1B0440 #400429
monochromatic
#051D02 #051D02 #0B4004 #157A08 #1FB30B

Accessibility & contrast

On white

12.00
#0B4004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B4004
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4004#FFFFFF#000000##FFFFFF
##0B40041.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#003E35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0b4004;
/* rgb */ color: rgb(11, 64, 4);
/* oklch */ color: oklch(32.5% 0.103 141.4);
Tailwind
colors: {
  custom: {
    50: '#55754a',
    500: '#0b4004',
    950: '#000000',
  },
}
SCSS
$custom: #0b4004;
$custom-light: #55754a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4004",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 113,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32501,
    "c": 0.10279,
    "h": 141.4
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#0B4004
secondary
#761F81
accent
#29FEE6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0B4004

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

Preview Lab → · Contrast checker → · Palette generator →

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