#0A310C#0A310C

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

Color values

HEX#0A310C
RGBrgb(10, 49, 12)
HSLhsl(123, 66%, 12%)
HSVhsv(123, 80%, 19%)
CMYKcmyk(79.6%, 0%, 75.5%, 80.8%)
CIE-LABlab(16.93, -22.68, 18.87)
CIE-LCHlch(16.93, 29.50, 140.23°)
OKLaboklab(27.63% -0.0615 0.0448)
OKLCHoklch(27.63% 0.076 143.9)
XYZxyz(1.2898, 2.2876, 0.7213)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A310C #310A2F
analogous
#1C310A #0A310C #0A3120
triadic
#0A310C #0C0A31 #310C0A
tetradic
#0A310C #0A1C31 #310A2F #31200A
square
#0A310C #0A1C31 #310A2F #31200A
split-complementary
#0A310C #200A31 #310A1C
monochromatic
#051906 #051906 #0A310C #146418 #1F9725

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A310C#FFFFFF#000000##FFFFFF
##0A310C1.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)
#322C08
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#032F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0a310c;
/* rgb */ color: rgb(10, 49, 12);
/* oklch */ color: oklch(27.6% 0.076 143.9);
Tailwind
colors: {
  custom: {
    50: '#4f694d',
    500: '#0a310c',
    950: '#000000',
  },
}
SCSS
$custom: #0a310c;
$custom-light: #4f694d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a310c",
  "rgb": {
    "r": 10,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 123.077,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27634,
    "c": 0.07606,
    "h": 143.9
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#0A310C
secondary
#6E296B
accent
#3FE0E9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0A310C

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

Preview Lab → · Contrast checker → · Palette generator →

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