#0D310F#0D310F

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

Color values

HEX#0D310F
RGBrgb(13, 49, 15)
HSLhsl(123, 58%, 12%)
HSVhsv(123, 73%, 19%)
CMYKcmyk(73.5%, 0%, 69.4%, 80.8%)
CIE-LABlab(17.07, -21.43, 17.59)
CIE-LCHlch(17.07, 27.73, 140.63°)
OKLaboklab(27.79% -0.0581 0.0418)
OKLCHoklch(27.79% 0.072 144.2)
XYZxyz(1.3504, 2.3166, 0.8278)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D310F #310D2F
analogous
#1D310D #0D310F #0D3121
triadic
#0D310F #0F0D31 #310F0D
tetradic
#0D310F #0D1D31 #310D2F #31210D
square
#0D310F #0D1D31 #310D2F #31210D
split-complementary
#0D310F #210D31 #310D1D
monochromatic
#061807 #061807 #0D310F #1A611E #27922D

Accessibility & contrast

On white

14.35
#0D310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D310F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D310F#FFFFFF#000000##FFFFFF
##0D310F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#2E2912
Tritanopia (blue-blind)
#062F2A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d310f;
/* rgb */ color: rgb(13, 49, 15);
/* oklch */ color: oklch(27.8% 0.072 144.2);
Tailwind
colors: {
  custom: {
    50: '#51694e',
    500: '#0d310f',
    950: '#000000',
  },
}
SCSS
$custom: #0d310f;
$custom-light: #51694e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d310f",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 123.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27789,
    "c": 0.07161,
    "h": 144.2
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#0D310F
secondary
#6C2E69
accent
#47D9E1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0D310F

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

Preview Lab → · Contrast checker → · Palette generator →

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