#012704#012704

#012704 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.7% C 0.074 H 144.3°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#012704
RGBrgb(1, 39, 4)
HSLhsl(125, 95%, 8%)
HSVhsv(125, 97%, 15%)
CMYKcmyk(97.4%, 0%, 89.7%, 84.7%)
CIE-LABlab(12.39, -22.28, 16.25)
CIE-LCHlch(12.39, 27.58, 143.90°)
OKLaboklab(23.74% -0.0604 0.0435)
OKLCHoklch(23.74% 0.074 144.3)
XYZxyz(0.7599, 1.4662, 0.3578)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012704 #270124
analogous
#112701 #012704 #012717
triadic
#012704 #040127 #270401
tetradic
#012704 #011127 #270124 #271701
square
#012704 #011127 #270124 #271701
split-complementary
#012704 #170127 #270111
monochromatic
#011E03 #011E03 #012704 #03630A #049E10

Accessibility & contrast

On white

16.24
#012704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#012704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012704
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012704#FFFFFF#000000##FFFFFF
##0127041.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282201
Deuteranopia (green-blind)
#241F07
Tritanopia (blue-blind)
#002620
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #012704;
/* rgb */ color: rgb(1, 39, 4);
/* oklch */ color: oklch(23.7% 0.074 144.3);
Tailwind
colors: {
  custom: {
    50: '#476248',
    500: '#012704',
    950: '#000000',
  },
}
SCSS
$custom: #012704;
$custom-light: #476248;
$custom-dark: #000000;
JSON
{
  "hex": "#012704",
  "rgb": {
    "r": 1,
    "g": 39,
    "b": 4
  },
  "hsl": {
    "h": 124.737,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23744,
    "c": 0.07446,
    "h": 144.3
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#012704
secondary
#6E1667
accent
#29EEFF
background
#F4F5F4
surface
#E6EAE6
border
#C2C6C2
text
#000500
muted
#777977

Preview Lab

Preview with #012704

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

Preview Lab → · Contrast checker → · Palette generator →

#012704 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva