#01280C#01280C

#01280C is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.2% C 0.067 H 148.9°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#01280C
RGBrgb(1, 40, 12)
HSLhsl(137, 95%, 8%)
HSVhsv(137, 98%, 16%)
CMYKcmyk(97.5%, 0%, 70%, 84.3%)
CIE-LABlab(12.93, -21.40, 13.66)
CIE-LCHlch(12.93, 25.39, 147.45°)
OKLaboklab(24.22% -0.0574 0.0346)
OKLCHoklch(24.22% 0.067 148.9)
XYZxyz(0.8376, 1.5505, 0.6029)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01280C #28011D
analogous
#092801 #01280C #01281F
triadic
#01280C #0C0128 #280C01
tetradic
#01280C #010928 #28011D #281F01
square
#01280C #010928 #28011D #281F01
split-complementary
#01280C #1F0128 #280109
monochromatic
#011E09 #011E09 #01280C #02641E #049F30

Accessibility & contrast

On white

16.03
#01280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#01280C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01280C
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01280C#FFFFFF#000000##FFFFFF
##01280C1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282309
Deuteranopia (green-blind)
#24200E
Tritanopia (blue-blind)
#002722
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #01280c;
/* rgb */ color: rgb(1, 40, 12);
/* oklch */ color: oklch(24.2% 0.067 148.9);
Tailwind
colors: {
  custom: {
    50: '#48624c',
    500: '#01280c',
    950: '#000000',
  },
}
SCSS
$custom: #01280c;
$custom-light: #48624c;
$custom-dark: #000000;
JSON
{
  "hex": "#01280c",
  "rgb": {
    "r": 1,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 136.923,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24224,
    "c": 0.06702,
    "h": 148.9
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#01280C
secondary
#6F1656
accent
#29C3FF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #01280C

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

Preview Lab → · Contrast checker → · Palette generator →

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