#01260F#01260F

#01260F is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.6% C 0.060 H 152.1°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#01260F
RGBrgb(1, 38, 15)
HSLhsl(143, 95%, 8%)
HSVhsv(143, 97%, 15%)
CMYKcmyk(97.4%, 0%, 60.5%, 85.1%)
CIE-LABlab(12.14, -19.88, 11.12)
CIE-LCHlch(12.14, 22.78, 150.78°)
OKLaboklab(23.59% -0.0534 0.0283)
OKLCHoklch(23.59% 0.06 152.1)
XYZxyz(0.7918, 1.4271, 0.6856)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01260F #260118
analogous
#052601 #01260F #012621
triadic
#01260F #0F0126 #260F01
tetradic
#01260F #010526 #260118 #262101
square
#01260F #010526 #260118 #262101
split-complementary
#01260F #210126 #260105
monochromatic
#011E0C #011E0C #01260F #036227 #049D3E

Accessibility & contrast

On white

16.34
#01260F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#01260F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01260F
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01260F#FFFFFF#000000##FFFFFF
##01260F1.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220D
Deuteranopia (green-blind)
#221F11
Tritanopia (blue-blind)
#002521
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #01260f;
/* rgb */ color: rgb(1, 38, 15);
/* oklch */ color: oklch(23.6% 0.060 152.1);
Tailwind
colors: {
  custom: {
    50: '#47614e',
    500: '#01260f',
    950: '#000000',
  },
}
SCSS
$custom: #01260f;
$custom-light: #47614e;
$custom-dark: #000000;
JSON
{
  "hex": "#01260f",
  "rgb": {
    "r": 1,
    "g": 38,
    "b": 15
  },
  "hsl": {
    "h": 142.703,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.23586,
    "c": 0.06045,
    "h": 152.1
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#01260F
secondary
#6D164C
accent
#29AEFF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000501
muted
#777977

Preview Lab

Preview with #01260F

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

Preview Lab → · Contrast checker → · Palette generator →

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