#012402#012402

#012402 is a very dark, moderate green. Relative luminance 0.013; OKLCH L 22.6% C 0.073 H 143.2°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#012402
RGBrgb(1, 36, 2)
HSLhsl(122, 95%, 7%)
HSVhsv(122, 97%, 14%)
CMYKcmyk(97.2%, 0%, 94.4%, 85.9%)
CIE-LABlab(11.08, -20.96, 15.26)
CIE-LCHlch(11.08, 25.93, 143.94°)
OKLaboklab(22.64% -0.0585 0.0437)
OKLCHoklch(22.64% 0.073 143.2)
XYZxyz(0.6543, 1.2725, 0.2686)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012402 #240123
analogous
#122401 #012402 #012414
triadic
#012402 #020124 #240201
tetradic
#012402 #011224 #240123 #241401
square
#012402 #011224 #240123 #241401
split-complementary
#012402 #140124 #240112
monochromatic
#011E02 #011E02 #012402 #036005 #049B09

Accessibility & contrast

On white

16.74
#012402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#012402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012402
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012402#FFFFFF#000000##FFFFFF
##0124021.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#211D04
Tritanopia (blue-blind)
#00231D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #012402;
/* rgb */ color: rgb(1, 36, 2);
/* oklch */ color: oklch(22.6% 0.073 143.2);
Tailwind
colors: {
  custom: {
    50: '#465f47',
    500: '#012402',
    950: '#000000',
  },
}
SCSS
$custom: #012402;
$custom-light: #465f47;
$custom-dark: #000000;
JSON
{
  "hex": "#012402",
  "rgb": {
    "r": 1,
    "g": 36,
    "b": 2
  },
  "hsl": {
    "h": 121.714,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22643,
    "c": 0.07305,
    "h": 143.2
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#012402
secondary
#6B1669
accent
#29F9FF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #012402

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

Preview Lab → · Contrast checker → · Palette generator →

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