#012C0C#012C0C

#012C0C is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.6% C 0.073 H 147.8°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#012C0C
RGBrgb(1, 44, 12)
HSLhsl(135, 96%, 9%)
HSVhsv(135, 98%, 17%)
CMYKcmyk(97.7%, 0%, 72.7%, 82.7%)
CIE-LABlab(14.59, -23.05, 15.86)
CIE-LCHlch(14.59, 27.98, 145.48°)
OKLaboklab(25.61% -0.0618 0.0389)
OKLCHoklch(25.61% 0.073 147.8)
XYZxyz(0.9795, 1.8342, 0.6502)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012C0C #2C0121
analogous
#0C2C01 #012C0C #012C22
triadic
#012C0C #0C012C #2C0C01
tetradic
#012C0C #010C2C #2C0121 #2C2201
square
#012C0C #010C2C #2C0121 #2C2201
split-complementary
#012C0C #22012C #2C010C
monochromatic
#011E08 #011E08 #012C0C #02681C #04A42D

Accessibility & contrast

On white

15.36
#012C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#012C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012C0C
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012C0C#FFFFFF#000000##FFFFFF
##012C0C1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2709
Deuteranopia (green-blind)
#28230F
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #012c0c;
/* rgb */ color: rgb(1, 44, 12);
/* oklch */ color: oklch(25.6% 0.073 147.8);
Tailwind
colors: {
  custom: {
    50: '#49664c',
    500: '#012c0c',
    950: '#000000',
  },
}
SCSS
$custom: #012c0c;
$custom-light: #49664c;
$custom-dark: #000000;
JSON
{
  "hex": "#012c0c",
  "rgb": {
    "r": 1,
    "g": 44,
    "b": 12
  },
  "hsl": {
    "h": 135.349,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.2561,
    "c": 0.07308,
    "h": 147.8
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#012C0C
secondary
#72175B
accent
#29C8FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #012C0C

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

Preview Lab → · Contrast checker → · Palette generator →

#012C0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva