#01260C#01260C

#01260C is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.5% C 0.064 H 149.5°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#01260C
RGBrgb(1, 38, 12)
HSLhsl(138, 95%, 8%)
HSVhsv(138, 97%, 15%)
CMYKcmyk(97.4%, 0%, 68.4%, 85.1%)
CIE-LABlab(12.08, -20.47, 12.52)
CIE-LCHlch(12.08, 24.00, 148.54°)
OKLaboklab(23.53% -0.0551 0.0324)
OKLCHoklch(23.53% 0.064 149.5)
XYZxyz(0.7719, 1.4191, 0.5810)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01260C #26011B
analogous
#082601 #01260C #01261E
triadic
#01260C #0C0126 #260C01
tetradic
#01260C #010826 #26011B #261E01
square
#01260C #010826 #26011B #261E01
split-complementary
#01260C #1E0126 #260108
monochromatic
#011E09 #011E09 #01260C #03621F #049D32

Accessibility & contrast

On white

16.36
#01260C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#01260C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01260C
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01260C#FFFFFF#000000##FFFFFF
##01260C1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220A
Deuteranopia (green-blind)
#221E0E
Tritanopia (blue-blind)
#002520
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #01260c;
/* rgb */ color: rgb(1, 38, 12);
/* oklch */ color: oklch(23.5% 0.064 149.5);
Tailwind
colors: {
  custom: {
    50: '#47614c',
    500: '#01260c',
    950: '#000000',
  },
}
SCSS
$custom: #01260c;
$custom-light: #47614c;
$custom-dark: #000000;
JSON
{
  "hex": "#01260c",
  "rgb": {
    "r": 1,
    "g": 38,
    "b": 12
  },
  "hsl": {
    "h": 137.838,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.23526,
    "c": 0.06389,
    "h": 149.5
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#01260C
secondary
#6D1653
accent
#29BFFF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000501
muted
#777977

Preview Lab

Preview with #01260C

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

Preview Lab → · Contrast checker → · Palette generator →

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