#012104#012104

#012104 is a very dark, moderate green. Relative luminance 0.011; OKLCH L 21.6% C 0.066 H 144.9°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#012104
RGBrgb(1, 33, 4)
HSLhsl(126, 94%, 7%)
HSVhsv(126, 97%, 13%)
CMYKcmyk(97%, 0%, 87.9%, 87.1%)
CIE-LABlab(9.82, -18.65, 12.68)
CIE-LCHlch(9.82, 22.55, 145.78°)
OKLaboklab(21.6% -0.054 0.0379)
OKLCHoklch(21.6% 0.066 144.9)
XYZxyz(0.5782, 1.1029, 0.2972)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012104 #21011E
analogous
#0E2101 #012104 #012114
triadic
#012104 #040121 #210401
tetradic
#012104 #010E21 #21011E #211401
square
#012104 #010E21 #21011E #211401
split-complementary
#012104 #140121 #21010E
monochromatic
#011E04 #011E04 #012104 #035C0B #059812

Accessibility & contrast

On white

17.20
#012104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#012104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012104
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012104#FFFFFF#000000##FFFFFF
##0121041.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D02
Deuteranopia (green-blind)
#1E1A06
Tritanopia (blue-blind)
#00201B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #012104;
/* rgb */ color: rgb(1, 33, 4);
/* oklch */ color: oklch(21.6% 0.066 144.9);
Tailwind
colors: {
  custom: {
    50: '#465c48',
    500: '#012104',
    950: '#000000',
  },
}
SCSS
$custom: #012104;
$custom-light: #465c48;
$custom-dark: #000000;
JSON
{
  "hex": "#012104",
  "rgb": {
    "r": 1,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 125.625,
    "s": 94.118,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21603,
    "c": 0.06596,
    "h": 144.9
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#012104
secondary
#681561
accent
#29EBFF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #012104

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

Preview Lab → · Contrast checker → · Palette generator →

#012104 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva