#0B400F#0B400F

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

Color values

HEX#0B400F
RGBrgb(11, 64, 15)
HSLhsl(125, 71%, 15%)
HSVhsv(125, 83%, 25%)
CMYKcmyk(82.8%, 0%, 76.6%, 74.9%)
CIE-LABlab(22.90, -28.34, 24.22)
CIE-LCHlch(22.90, 37.28, 139.49°)
OKLaboklab(32.6% -0.0767 0.0558)
OKLCHoklch(32.6% 0.095 144)
XYZxyz(2.0575, 3.7722, 1.0715)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B400F #400B3C
analogous
#22400B #0B400F #0B402A
triadic
#0B400F #0F0B40 #400F0B
tetradic
#0B400F #0B2240 #400B3C #402A0B
square
#0B400F #0B2240 #400B3C #402A0B
split-complementary
#0B400F #2A0B40 #400B22
monochromatic
#041A06 #041A06 #0B400F #14741B #1DA827

Accessibility & contrast

On white

11.97
#0B400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B400F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B400F#FFFFFF#000000##FFFFFF
##0B400F1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b400f;
/* rgb */ color: rgb(11, 64, 15);
/* oklch */ color: oklch(32.6% 0.095 144.0);
Tailwind
colors: {
  custom: {
    50: '#547550',
    500: '#0b400f',
    950: '#000000',
  },
}
SCSS
$custom: #0b400f;
$custom-light: #547550;
$custom-dark: #000000;
JSON
{
  "hex": "#0b400f",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 124.528,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32603,
    "c": 0.09485,
    "h": 144
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#0B400F
secondary
#7D2A76
accent
#3AE0ED
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0B400F

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

Preview Lab → · Contrast checker → · Palette generator →

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