#0B310D#0B310D

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

Color values

HEX#0B310D
RGBrgb(11, 49, 13)
HSLhsl(123, 63%, 12%)
HSVhsv(123, 78%, 19%)
CMYKcmyk(77.6%, 0%, 73.5%, 80.8%)
CIE-LABlab(16.97, -22.28, 18.46)
CIE-LCHlch(16.97, 28.94, 140.35°)
OKLaboklab(27.68% -0.0604 0.0439)
OKLCHoklch(27.68% 0.075 144)
XYZxyz(1.3089, 2.2967, 0.7550)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B310D #310B2F
analogous
#1C310B #0B310D #0B3120
triadic
#0B310D #0D0B31 #310D0B
tetradic
#0B310D #0B1C31 #310B2F #31200B
square
#0B310D #0B1C31 #310B2F #31200B
split-complementary
#0B310D #200B31 #310B1C
monochromatic
#061907 #061907 #0B310D #16631A #219528

Accessibility & contrast

On white

14.39
#0B310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B310D
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B310D#FFFFFF#000000##FFFFFF
##0B310D1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b310d;
/* rgb */ color: rgb(11, 49, 13);
/* oklch */ color: oklch(27.7% 0.075 144.0);
Tailwind
colors: {
  custom: {
    50: '#50694d',
    500: '#0b310d',
    950: '#000000',
  },
}
SCSS
$custom: #0b310d;
$custom-light: #50694d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b310d",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 123.158,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27683,
    "c": 0.07463,
    "h": 144
  },
  "luminance": 0.02297
}

Semantic roles & 50–950 ramp

primary
#0B310D
secondary
#6E2A6A
accent
#41DEE6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0B310D

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

Preview Lab → · Contrast checker → · Palette generator →

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