#01270E#01270E

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

Color values

HEX#01270E
RGBrgb(1, 39, 14)
HSLhsl(141, 95%, 8%)
HSVhsv(141, 97%, 15%)
CMYKcmyk(97.4%, 0%, 64.1%, 84.7%)
CIE-LABlab(12.54, -20.57, 12.18)
CIE-LCHlch(12.54, 23.91, 149.36°)
OKLaboklab(23.91% -0.0551 0.0309)
OKLCHoklch(23.91% 0.063 150.7)
XYZxyz(0.8172, 1.4891, 0.6597)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01270E #27011A
analogous
#072701 #01270E #012721
triadic
#01270E #0E0127 #270E01
tetradic
#01270E #010727 #27011A #272101
square
#01270E #010727 #27011A #272101
split-complementary
#01270E #210127 #270107
monochromatic
#011E0B #011E0B #01270E #036323 #049E39

Accessibility & contrast

On white

16.18
#01270E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01270E
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01270E#FFFFFF#000000##FFFFFF
##01270E1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27230C
Deuteranopia (green-blind)
#231F10
Tritanopia (blue-blind)
#002621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #01270e;
/* rgb */ color: rgb(1, 39, 14);
/* oklch */ color: oklch(23.9% 0.063 150.7);
Tailwind
colors: {
  custom: {
    50: '#47614d',
    500: '#01270e',
    950: '#000000',
  },
}
SCSS
$custom: #01270e;
$custom-light: #47614d;
$custom-dark: #000000;
JSON
{
  "hex": "#01270e",
  "rgb": {
    "r": 1,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 140.526,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23914,
    "c": 0.06321,
    "h": 150.7
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#01270E
secondary
#6E1650
accent
#29B6FF
background
#F4F5F4
surface
#E6EAE7
border
#C2C6C3
text
#000501
muted
#777977

Preview Lab

Preview with #01270E

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

Preview Lab → · Contrast checker → · Palette generator →

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