#0B310E#0B310E

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

Color values

HEX#0B310E
RGBrgb(11, 49, 14)
HSLhsl(125, 63%, 12%)
HSVhsv(125, 78%, 19%)
CMYKcmyk(77.6%, 0%, 71.4%, 80.8%)
CIE-LABlab(16.99, -22.13, 17.99)
CIE-LCHlch(16.99, 28.52, 140.90°)
OKLaboklab(27.7% -0.0599 0.0428)
OKLCHoklch(27.7% 0.074 144.5)
XYZxyz(1.3155, 2.2993, 0.7899)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B310E #310B2E
analogous
#1B310B #0B310E #0B3121
triadic
#0B310E #0E0B31 #310E0B
tetradic
#0B310E #0B1B31 #310B2E #31210B
square
#0B310E #0B1B31 #310B2E #31210B
split-complementary
#0B310E #210B31 #310B1B
monochromatic
#061907 #061907 #0B310E #16631C #21952B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B310E#FFFFFF#000000##FFFFFF
##0B310E1.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)
#322C0A
Deuteranopia (green-blind)
#2D2911
Tritanopia (blue-blind)
#032F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b310e;
/* rgb */ color: rgb(11, 49, 14);
/* oklch */ color: oklch(27.7% 0.074 144.5);
Tailwind
colors: {
  custom: {
    50: '#50694e',
    500: '#0b310e',
    950: '#000000',
  },
}
SCSS
$custom: #0b310e;
$custom-light: #50694e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b310e",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 124.737,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27698,
    "c": 0.07362,
    "h": 144.5
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#0B310E
secondary
#6E2A68
accent
#41D9E6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0B310E

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

Preview Lab → · Contrast checker → · Palette generator →

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