#0B310B#0B310B

#0B310B is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.7% C 0.077 H 143.2°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#0B310B
RGBrgb(11, 49, 11)
HSLhsl(120, 63%, 12%)
HSVhsv(120, 78%, 19%)
CMYKcmyk(77.6%, 0%, 77.6%, 80.8%)
CIE-LABlab(16.95, -22.55, 19.35)
CIE-LCHlch(16.95, 29.71, 139.38°)
OKLaboklab(27.66% -0.0612 0.0459)
OKLCHoklch(27.66% 0.077 143.2)
XYZxyz(1.2967, 2.2918, 0.6906)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B310B #310B31
analogous
#1E310B #0B310B #0B311E
triadic
#0B310B #0B0B31 #310B0B
tetradic
#0B310B #0B1E31 #310B31 #311E0B
square
#0B310B #0B1E31 #310B31 #311E0B
split-complementary
#0B310B #1E0B31 #310B1E
monochromatic
#061906 #061906 #0B310B #166316 #219521

Accessibility & contrast

On white

14.40
#0B310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0B310B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B310B
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B310B#FFFFFF#000000##FFFFFF
##0B310B1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C07
Deuteranopia (green-blind)
#2E290E
Tritanopia (blue-blind)
#042F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b310b;
/* rgb */ color: rgb(11, 49, 11);
/* oklch */ color: oklch(27.7% 0.077 143.2);
Tailwind
colors: {
  custom: {
    50: '#50694c',
    500: '#0b310b',
    950: '#000000',
  },
}
SCSS
$custom: #0b310b;
$custom-light: #50694c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b310b",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 120,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27656,
    "c": 0.07653,
    "h": 143.2
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#0B310B
secondary
#6E2A6E
accent
#41E6E6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0B310B

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

Preview Lab → · Contrast checker → · Palette generator →

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