#0D310A#0D310A

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

Color values

HEX#0D310A
RGBrgb(13, 49, 10)
HSLhsl(115, 66%, 12%)
HSVhsv(115, 80%, 19%)
CMYKcmyk(73.5%, 0%, 79.6%, 80.8%)
CIE-LABlab(17.01, -22.12, 19.85)
CIE-LCHlch(17.01, 29.72, 138.10°)
OKLaboklab(27.72% -0.0603 0.047)
OKLCHoklch(27.72% 0.076 142)
XYZxyz(1.3190, 2.3040, 0.6623)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D310A #2E0A31
analogous
#21310A #0D310A #0A311B
triadic
#0D310A #0A0D31 #310A0D
tetradic
#0D310A #0A2131 #2E0A31 #311B0A
square
#0D310A #0A2131 #2E0A31 #311B0A
split-complementary
#0D310A #1B0A31 #310A21
monochromatic
#071905 #071905 #0D310A #1A6414 #28971F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D310A#FFFFFF#000000##FFFFFF
##0D310A1.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)
#322C06
Deuteranopia (green-blind)
#2E290E
Tritanopia (blue-blind)
#072F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d310a;
/* rgb */ color: rgb(13, 49, 10);
/* oklch */ color: oklch(27.7% 0.076 142.0);
Tailwind
colors: {
  custom: {
    50: '#51694c',
    500: '#0d310a',
    950: '#000000',
  },
}
SCSS
$custom: #0d310a;
$custom-light: #51694c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d310a",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 115.385,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27721,
    "c": 0.07646,
    "h": 142
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#0D310A
secondary
#69296E
accent
#3FE9DC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0D310A

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

Preview Lab → · Contrast checker → · Palette generator →

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