#01310C#01310C

#01310C is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.3% C 0.080 H 146.8°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#01310C
RGBrgb(1, 49, 12)
HSLhsl(134, 96%, 10%)
HSVhsv(134, 98%, 19%)
CMYKcmyk(98%, 0%, 75.5%, 80.8%)
CIE-LABlab(16.65, -25.04, 18.46)
CIE-LCHlch(16.65, 31.11, 143.60°)
OKLaboklab(27.32% -0.0672 0.044)
OKLCHoklch(27.32% 0.08 146.8)
XYZxyz(1.1771, 2.2295, 0.7160)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01310C #310126
analogous
#0E3101 #01310C #013124
triadic
#01310C #0C0131 #310C01
tetradic
#01310C #010E31 #310126 #312401
square
#01310C #010E31 #310126 #312401
split-complementary
#01310C #240131 #31010E
monochromatic
#011E07 #011E07 #01310C #026D1B #03A929

Accessibility & contrast

On white

14.52
#01310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#01310C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01310C
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01310C#FFFFFF#000000##FFFFFF
##01310C1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B08
Deuteranopia (green-blind)
#2C280F
Tritanopia (blue-blind)
#003029
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #01310c;
/* rgb */ color: rgb(1, 49, 12);
/* oklch */ color: oklch(27.3% 0.080 146.8);
Tailwind
colors: {
  custom: {
    50: '#4b6a4c',
    500: '#01310c',
    950: '#000000',
  },
}
SCSS
$custom: #01310c;
$custom-light: #4b6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#01310c",
  "rgb": {
    "r": 1,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 133.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2732,
    "c": 0.08037,
    "h": 146.8
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#01310C
secondary
#771761
accent
#29CEFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #01310C

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

Preview Lab → · Contrast checker → · Palette generator →

#01310C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva