#01240C#01240C

#01240C is a very dark, moderate green. Relative luminance 0.013; OKLCH L 22.8% C 0.061 H 150.3°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#01240C
RGBrgb(1, 36, 12)
HSLhsl(139, 95%, 7%)
HSVhsv(139, 97%, 14%)
CMYKcmyk(97.2%, 0%, 66.7%, 85.9%)
CIE-LABlab(11.24, -19.37, 11.36)
CIE-LCHlch(11.24, 22.46, 149.60°)
OKLaboklab(22.82% -0.0527 0.0301)
OKLCHoklch(22.82% 0.061 150.3)
XYZxyz(0.7097, 1.2947, 0.5602)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01240C #240119
analogous
#082401 #01240C #01241E
triadic
#01240C #0C0124 #240C01
tetradic
#01240C #010824 #240119 #241E01
square
#01240C #010824 #240119 #241E01
split-complementary
#01240C #1E0124 #240108
monochromatic
#011E0A #011E0A #01240C #036020 #049B34

Accessibility & contrast

On white

16.68
#01240C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#01240C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01240C
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01240C#FFFFFF#000000##FFFFFF
##01240C1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200A
Deuteranopia (green-blind)
#201D0E
Tritanopia (blue-blind)
#00231E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #01240c;
/* rgb */ color: rgb(1, 36, 12);
/* oklch */ color: oklch(22.8% 0.061 150.3);
Tailwind
colors: {
  custom: {
    50: '#465f4c',
    500: '#01240c',
    950: '#000000',
  },
}
SCSS
$custom: #01240c;
$custom-light: #465f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#01240c",
  "rgb": {
    "r": 1,
    "g": 36,
    "b": 12
  },
  "hsl": {
    "h": 138.857,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22824,
    "c": 0.06072,
    "h": 150.3
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#01240C
secondary
#6B1650
accent
#29BCFF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #01240C

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

Preview Lab → · Contrast checker → · Palette generator →

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