#0B400C#0B400C

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

Color values

HEX#0B400C
RGBrgb(11, 64, 12)
HSLhsl(121, 71%, 15%)
HSVhsv(121, 83%, 25%)
CMYKcmyk(82.8%, 0%, 81.2%, 74.9%)
CIE-LABlab(22.88, -28.67, 25.61)
CIE-LCHlch(22.88, 38.45, 138.23°)
OKLaboklab(32.57% -0.0778 0.0583)
OKLCHoklch(32.57% 0.097 143.2)
XYZxyz(2.0376, 3.7643, 0.9669)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B400C #400B3F
analogous
#25400B #0B400C #0B4027
triadic
#0B400C #0C0B40 #400C0B
tetradic
#0B400C #0B2540 #400B3F #40270B
square
#0B400C #0B2540 #400B3F #40270B
split-complementary
#0B400C #270B40 #400B25
monochromatic
#041A05 #041A05 #0B400C #147416 #1DA820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B400C#FFFFFF#000000##FFFFFF
##0B400C1.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)
#423905
Deuteranopia (green-blind)
#3C3511
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0b400c;
/* rgb */ color: rgb(11, 64, 12);
/* oklch */ color: oklch(32.6% 0.097 143.2);
Tailwind
colors: {
  custom: {
    50: '#54754e',
    500: '#0b400c',
    950: '#000000',
  },
}
SCSS
$custom: #0b400c;
$custom-light: #54754e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b400c",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 121.132,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32571,
    "c": 0.09719,
    "h": 143.2
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#0B400C
secondary
#7D2A7B
accent
#3AEAED
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0B400C

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

Preview Lab → · Contrast checker → · Palette generator →

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