#0B400D#0B400D

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

Color values

HEX#0B400D
RGBrgb(11, 64, 13)
HSLhsl(122, 71%, 15%)
HSVhsv(122, 83%, 25%)
CMYKcmyk(82.8%, 0%, 79.7%, 74.9%)
CIE-LABlab(22.89, -28.57, 25.16)
CIE-LCHlch(22.89, 38.07, 138.63°)
OKLaboklab(32.58% -0.0774 0.0575)
OKLCHoklch(32.58% 0.096 143.4)
XYZxyz(2.0439, 3.7668, 1.0000)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B400D #400B3E
analogous
#24400B #0B400D #0B4028
triadic
#0B400D #0D0B40 #400D0B
tetradic
#0B400D #0B2440 #400B3E #40280B
square
#0B400D #0B2440 #400B3E #40280B
split-complementary
#0B400D #280B40 #400B24
monochromatic
#041A05 #041A05 #0B400D #147418 #1DA822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B400D#FFFFFF#000000##FFFFFF
##0B400D1.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)
#413906
Deuteranopia (green-blind)
#3B3512
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0b400d;
/* rgb */ color: rgb(11, 64, 13);
/* oklch */ color: oklch(32.6% 0.096 143.4);
Tailwind
colors: {
  custom: {
    50: '#54754f',
    500: '#0b400d',
    950: '#000000',
  },
}
SCSS
$custom: #0b400d;
$custom-light: #54754f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b400d",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 122.264,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32581,
    "c": 0.09643,
    "h": 143.4
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#0B400D
secondary
#7D2A7A
accent
#3AE7ED
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0B400D

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

Preview Lab → · Contrast checker → · Palette generator →

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