#0A310B#0A310B

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

Color values

HEX#0A310B
RGBrgb(10, 49, 11)
HSLhsl(122, 66%, 12%)
HSVhsv(122, 80%, 19%)
CMYKcmyk(79.6%, 0%, 77.6%, 80.8%)
CIE-LABlab(16.92, -22.81, 19.30)
CIE-LCHlch(16.92, 29.88, 139.77°)
OKLaboklab(27.62% -0.0619 0.0458)
OKLCHoklch(27.62% 0.077 143.5)
XYZxyz(1.2838, 2.2852, 0.6900)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A310B #310A30
analogous
#1D310A #0A310B #0A311F
triadic
#0A310B #0B0A31 #310B0A
tetradic
#0A310B #0A1D31 #310A30 #311F0A
square
#0A310B #0A1D31 #310A30 #311F0A
split-complementary
#0A310B #1F0A31 #310A1D
monochromatic
#051906 #051906 #0A310B #146416 #1F9722

Accessibility & contrast

On white

14.41
#0A310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A310B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A310B#FFFFFF#000000##FFFFFF
##0A310B1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a310b;
/* rgb */ color: rgb(10, 49, 11);
/* oklch */ color: oklch(27.6% 0.077 143.5);
Tailwind
colors: {
  custom: {
    50: '#4f694c',
    500: '#0a310b',
    950: '#000000',
  },
}
SCSS
$custom: #0a310b;
$custom-light: #4f694c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a310b",
  "rgb": {
    "r": 10,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 121.538,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27621,
    "c": 0.07699,
    "h": 143.5
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#0A310B
secondary
#6E296D
accent
#3FE5E9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0A310B

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

Preview Lab → · Contrast checker → · Palette generator →

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