#0B310C#0B310C

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

Color values

HEX#0B310C
RGBrgb(11, 49, 12)
HSLhsl(122, 63%, 12%)
HSVhsv(122, 78%, 19%)
CMYKcmyk(77.6%, 0%, 75.5%, 80.8%)
CIE-LABlab(16.96, -22.42, 18.92)
CIE-LCHlch(16.96, 29.33, 139.84°)
OKLaboklab(27.67% -0.0608 0.0449)
OKLCHoklch(27.67% 0.076 143.6)
XYZxyz(1.3026, 2.2942, 0.7219)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B310C #310B30
analogous
#1D310B #0B310C #0B311F
triadic
#0B310C #0C0B31 #310C0B
tetradic
#0B310C #0B1D31 #310B30 #311F0B
square
#0B310C #0B1D31 #310B30 #311F0B
split-complementary
#0B310C #1F0B31 #310B1D
monochromatic
#061906 #061906 #0B310C #166318 #219524

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B310C#FFFFFF#000000##FFFFFF
##0B310C1.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)
#322C08
Deuteranopia (green-blind)
#2E290F
Tritanopia (blue-blind)
#042F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b310c;
/* rgb */ color: rgb(11, 49, 12);
/* oklch */ color: oklch(27.7% 0.076 143.6);
Tailwind
colors: {
  custom: {
    50: '#50694d',
    500: '#0b310c',
    950: '#000000',
  },
}
SCSS
$custom: #0b310c;
$custom-light: #50694d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b310c",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 121.579,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27669,
    "c": 0.0756,
    "h": 143.6
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#0B310C
secondary
#6E2A6C
accent
#41E2E6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0B310C

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

Preview Lab → · Contrast checker → · Palette generator →

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