#01270B#01270B

#01270B is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.9% C 0.067 H 148.5°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#01270B
RGBrgb(1, 39, 11)
HSLhsl(136, 95%, 8%)
HSVhsv(136, 97%, 15%)
CMYKcmyk(97.4%, 0%, 71.8%, 84.7%)
CIE-LABlab(12.49, -21.13, 13.52)
CIE-LCHlch(12.49, 25.08, 147.39°)
OKLaboklab(23.86% -0.0567 0.0348)
OKLCHoklch(23.86% 0.067 148.5)
XYZxyz(0.7984, 1.4815, 0.5604)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01270B #27011D
analogous
#0A2701 #01270B #01271E
triadic
#01270B #0B0127 #270B01
tetradic
#01270B #010A27 #27011D #271E01
square
#01270B #010A27 #27011D #271E01
split-complementary
#01270B #1E0127 #27010A
monochromatic
#011E08 #011E08 #01270B #03631C #049E2D

Accessibility & contrast

On white

16.20
#01270B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#01270B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01270B
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01270B#FFFFFF#000000##FFFFFF
##01270B1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272208
Deuteranopia (green-blind)
#231F0D
Tritanopia (blue-blind)
#002621
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #01270b;
/* rgb */ color: rgb(1, 39, 11);
/* oklch */ color: oklch(23.9% 0.067 148.5);
Tailwind
colors: {
  custom: {
    50: '#47624b',
    500: '#01270b',
    950: '#000000',
  },
}
SCSS
$custom: #01270b;
$custom-light: #47624b;
$custom-dark: #000000;
JSON
{
  "hex": "#01270b",
  "rgb": {
    "r": 1,
    "g": 39,
    "b": 11
  },
  "hsl": {
    "h": 135.789,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23858,
    "c": 0.06655,
    "h": 148.5
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#01270B
secondary
#6E1657
accent
#29C7FF
background
#F4F5F4
surface
#E6EAE7
border
#C2C6C3
text
#000501
muted
#777977

Preview Lab

Preview with #01270B

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

Preview Lab → · Contrast checker → · Palette generator →

#01270B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva