#0A310A#0A310A

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

Color values

HEX#0A310A
RGBrgb(10, 49, 10)
HSLhsl(120, 66%, 12%)
HSVhsv(120, 80%, 19%)
CMYKcmyk(79.6%, 0%, 79.6%, 80.8%)
CIE-LABlab(16.91, -22.94, 19.70)
CIE-LCHlch(16.91, 30.24, 139.34°)
OKLaboklab(27.61% -0.0623 0.0468)
OKLCHoklch(27.61% 0.078 143.1)
XYZxyz(1.2782, 2.2829, 0.6604)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A310A #310A31
analogous
#1E310A #0A310A #0A311E
triadic
#0A310A #0A0A31 #310A0A
tetradic
#0A310A #0A1E31 #310A31 #311E0A
square
#0A310A #0A1E31 #310A31 #311E0A
split-complementary
#0A310A #1E0A31 #310A1E
monochromatic
#051905 #051905 #0A310A #146414 #1F971F

Accessibility & contrast

On white

14.42
#0A310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A310A
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A310A#FFFFFF#000000##FFFFFF
##0A310A1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a310a;
/* rgb */ color: rgb(10, 49, 10);
/* oklch */ color: oklch(27.6% 0.078 143.1);
Tailwind
colors: {
  custom: {
    50: '#4f694c',
    500: '#0a310a',
    950: '#000000',
  },
}
SCSS
$custom: #0a310a;
$custom-light: #4f694c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a310a",
  "rgb": {
    "r": 10,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 120,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27609,
    "c": 0.07789,
    "h": 143.1
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#0A310A
secondary
#6E296E
accent
#3FE9E9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0A310A

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

Preview Lab → · Contrast checker → · Palette generator →

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