#0D310E#0D310E

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

Color values

HEX#0D310E
RGBrgb(13, 49, 14)
HSLhsl(122, 58%, 12%)
HSVhsv(122, 73%, 19%)
CMYKcmyk(73.5%, 0%, 71.4%, 80.8%)
CIE-LABlab(17.05, -21.58, 18.09)
CIE-LCHlch(17.05, 28.16, 140.04°)
OKLaboklab(27.77% -0.0586 0.043)
OKLCHoklch(27.77% 0.073 143.7)
XYZxyz(1.3435, 2.3138, 0.7912)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D310E #310D30
analogous
#1E310D #0D310E #0D3120
triadic
#0D310E #0E0D31 #310E0D
tetradic
#0D310E #0D1E31 #310D30 #31200D
square
#0D310E #0D1E31 #310D30 #31200D
split-complementary
#0D310E #200D31 #310D1E
monochromatic
#061807 #061807 #0D310E #1A611C #27922A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D310E#FFFFFF#000000##FFFFFF
##0D310E1.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)
#322C0A
Deuteranopia (green-blind)
#2E2911
Tritanopia (blue-blind)
#062F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d310e;
/* rgb */ color: rgb(13, 49, 14);
/* oklch */ color: oklch(27.8% 0.073 143.7);
Tailwind
colors: {
  custom: {
    50: '#51694e',
    500: '#0d310e',
    950: '#000000',
  },
}
SCSS
$custom: #0d310e;
$custom-light: #51694e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d310e",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 121.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27774,
    "c": 0.07264,
    "h": 143.7
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#0D310E
secondary
#6C2E6A
accent
#47DDE1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0D310E

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

Preview Lab → · Contrast checker → · Palette generator →

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