#012E0C#012E0C

#012E0C is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.3% C 0.076 H 147.4°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#012E0C
RGBrgb(1, 46, 12)
HSLhsl(135, 96%, 9%)
HSVhsv(135, 98%, 18%)
CMYKcmyk(97.8%, 0%, 73.9%, 82%)
CIE-LABlab(15.42, -23.86, 16.92)
CIE-LCHlch(15.42, 29.25, 144.66°)
OKLaboklab(26.3% -0.064 0.041)
OKLCHoklch(26.3% 0.076 147.4)
XYZxyz(1.0558, 1.9868, 0.6756)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012E0C #2E0123
analogous
#0D2E01 #012E0C #012E23
triadic
#012E0C #0C012E #2E0C01
tetradic
#012E0C #010D2E #2E0123 #2E2301
square
#012E0C #010D2E #2E0123 #2E2301
split-complementary
#012E0C #23012E #2E010D
monochromatic
#011E08 #011E08 #012E0C #026A1C #04A62B

Accessibility & contrast

On white

15.03
#012E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#012E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012E0C
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012E0C#FFFFFF#000000##FFFFFF
##012E0C1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2908
Deuteranopia (green-blind)
#2A250F
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #012e0c;
/* rgb */ color: rgb(1, 46, 12);
/* oklch */ color: oklch(26.3% 0.076 147.4);
Tailwind
colors: {
  custom: {
    50: '#4a674c',
    500: '#012e0c',
    950: '#000000',
  },
}
SCSS
$custom: #012e0c;
$custom-light: #4a674c;
$custom-dark: #000000;
JSON
{
  "hex": "#012e0c",
  "rgb": {
    "r": 1,
    "g": 46,
    "b": 12
  },
  "hsl": {
    "h": 134.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26297,
    "c": 0.07603,
    "h": 147.4
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#012E0C
secondary
#74175D
accent
#29CBFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #012E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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