#0D310D#0D310D

#0D310D is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.8% C 0.074 H 143.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#0D310D
RGBrgb(13, 49, 13)
HSLhsl(120, 58%, 12%)
HSVhsv(120, 73%, 19%)
CMYKcmyk(73.5%, 0%, 73.5%, 80.8%)
CIE-LABlab(17.04, -21.73, 18.56)
CIE-LCHlch(17.04, 28.58, 139.49°)
OKLaboklab(27.76% -0.059 0.044)
OKLCHoklch(27.76% 0.074 143.3)
XYZxyz(1.3369, 2.3111, 0.7563)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D310D #310D31
analogous
#1F310D #0D310D #0D311F
triadic
#0D310D #0D0D31 #310D0D
tetradic
#0D310D #0D1F31 #310D31 #311F0D
square
#0D310D #0D1F31 #310D31 #311F0D
split-complementary
#0D310D #1F0D31 #310D1F
monochromatic
#061806 #061806 #0D310D #1A611A #279227

Accessibility & contrast

On white

14.36
#0D310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D310D
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D310D#FFFFFF#000000##FFFFFF
##0D310D1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C09
Deuteranopia (green-blind)
#2E2910
Tritanopia (blue-blind)
#072F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d310d;
/* rgb */ color: rgb(13, 49, 13);
/* oklch */ color: oklch(27.8% 0.074 143.3);
Tailwind
colors: {
  custom: {
    50: '#51694d',
    500: '#0d310d',
    950: '#000000',
  },
}
SCSS
$custom: #0d310d;
$custom-light: #51694d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d310d",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 120,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2776,
    "c": 0.07364,
    "h": 143.3
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#0D310D
secondary
#6C2E6C
accent
#47E1E1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0D310D

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

Preview Lab → · Contrast checker → · Palette generator →

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