#012C04#012C04

#012C04 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.5% C 0.081 H 143.9°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#012C04
RGBrgb(1, 44, 4)
HSLhsl(124, 96%, 9%)
HSVhsv(124, 98%, 17%)
CMYKcmyk(97.7%, 0%, 90.9%, 82.7%)
CIE-LABlab(14.49, -24.30, 19.04)
CIE-LCHlch(14.49, 30.87, 141.93°)
OKLaboklab(25.5% -0.0656 0.0478)
OKLCHoklch(25.5% 0.081 143.9)
XYZxyz(0.9350, 1.8165, 0.4162)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012C04 #2C0129
analogous
#142C01 #012C04 #012C1A
triadic
#012C04 #04012C #2C0401
tetradic
#012C04 #01142C #2C0129 #2C1A01
square
#012C04 #01142C #2C0129 #2C1A01
split-complementary
#012C04 #1A012C #2C0114
monochromatic
#011E03 #011E03 #012C04 #026809 #04A40F

Accessibility & contrast

On white

15.40
#012C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#012C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012C04
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012C04#FFFFFF#000000##FFFFFF
##012C041.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#282307
Tritanopia (blue-blind)
#002A24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #012c04;
/* rgb */ color: rgb(1, 44, 4);
/* oklch */ color: oklch(25.5% 0.081 143.9);
Tailwind
colors: {
  custom: {
    50: '#496648',
    500: '#012c04',
    950: '#000000',
  },
}
SCSS
$custom: #012c04;
$custom-light: #496648;
$custom-dark: #000000;
JSON
{
  "hex": "#012c04",
  "rgb": {
    "r": 1,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 124.186,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25495,
    "c": 0.08122,
    "h": 143.9
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#012C04
secondary
#72176C
accent
#29F0FF
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #012C04

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

Preview Lab → · Contrast checker → · Palette generator →

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