#0B310F#0B310F

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

Color values

HEX#0B310F
RGBrgb(11, 49, 15)
HSLhsl(126, 63%, 12%)
HSVhsv(126, 78%, 19%)
CMYKcmyk(77.6%, 0%, 69.4%, 80.8%)
CIE-LABlab(17.00, -21.98, 17.49)
CIE-LCHlch(17.00, 28.08, 141.49°)
OKLaboklab(27.71% -0.0595 0.0416)
OKLCHoklch(27.71% 0.073 145)
XYZxyz(1.3225, 2.3021, 0.8265)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B310F #310B2D
analogous
#1A310B #0B310F #0B3122
triadic
#0B310F #0F0B31 #310F0B
tetradic
#0B310F #0B1A31 #310B2D #31220B
square
#0B310F #0B1A31 #310B2D #31220B
split-complementary
#0B310F #220B31 #310B1A
monochromatic
#061908 #061908 #0B310F #16631E #21952E

Accessibility & contrast

On white

14.38
#0B310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B310F
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B310F#FFFFFF#000000##FFFFFF
##0B310F1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#2D2912
Tritanopia (blue-blind)
#03302A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b310f;
/* rgb */ color: rgb(11, 49, 15);
/* oklch */ color: oklch(27.7% 0.073 145.0);
Tailwind
colors: {
  custom: {
    50: '#50694e',
    500: '#0b310f',
    950: '#000000',
  },
}
SCSS
$custom: #0b310f;
$custom-light: #50694e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b310f",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 126.316,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27713,
    "c": 0.0726,
    "h": 145
  },
  "luminance": 0.02302
}

Semantic roles & 50–950 ramp

primary
#0B310F
secondary
#6E2A66
accent
#41D5E6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0B310F

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

Preview Lab → · Contrast checker → · Palette generator →

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