#01270F#01270F

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

Color values

HEX#01270F
RGBrgb(1, 39, 15)
HSLhsl(142, 95%, 8%)
HSVhsv(142, 97%, 15%)
CMYKcmyk(97.4%, 0%, 61.5%, 84.7%)
CIE-LABlab(12.56, -20.36, 11.69)
CIE-LCHlch(12.56, 23.48, 150.14°)
OKLaboklab(23.93% -0.0546 0.0295)
OKLCHoklch(23.93% 0.062 151.6)
XYZxyz(0.8242, 1.4919, 0.6964)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01270F #270119
analogous
#062701 #01270F #012722
triadic
#01270F #0F0127 #270F01
tetradic
#01270F #010627 #270119 #272201
square
#01270F #010627 #270119 #272201
split-complementary
#01270F #220127 #270106
monochromatic
#011E0B #011E0B #01270F #036326 #049E3D

Accessibility & contrast

On white

16.17
#01270F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01270F
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01270F#FFFFFF#000000##FFFFFF
##01270F1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #01270f;
/* rgb */ color: rgb(1, 39, 15);
/* oklch */ color: oklch(23.9% 0.062 151.6);
Tailwind
colors: {
  custom: {
    50: '#47614e',
    500: '#01270f',
    950: '#000000',
  },
}
SCSS
$custom: #01270f;
$custom-light: #47614e;
$custom-dark: #000000;
JSON
{
  "hex": "#01270f",
  "rgb": {
    "r": 1,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 142.105,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23934,
    "c": 0.06206,
    "h": 151.6
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#01270F
secondary
#6E164D
accent
#29B0FF
background
#F4F5F4
surface
#E6EAE7
border
#C2C6C3
text
#000501
muted
#777977

Preview Lab

Preview with #01270F

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

Preview Lab → · Contrast checker → · Palette generator →

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