#022404#022404

#022404 is a very dark, moderate green. Relative luminance 0.013; OKLCH L 22.7% C 0.070 H 144.0°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#022404
RGBrgb(2, 36, 4)
HSLhsl(124, 89%, 7%)
HSVhsv(124, 94%, 14%)
CMYKcmyk(94.4%, 0%, 88.9%, 85.9%)
CIE-LABlab(11.16, -20.33, 14.56)
CIE-LCHlch(11.16, 25.01, 144.38°)
OKLaboklab(22.73% -0.0563 0.0409)
OKLCHoklch(22.73% 0.07 144)
XYZxyz(0.6778, 1.2833, 0.3268)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022404 #240222
analogous
#112402 #022404 #022415
triadic
#022404 #040224 #240402
tetradic
#022404 #021124 #240222 #241502
square
#022404 #021124 #240222 #241502
split-complementary
#022404 #150224 #240211
monochromatic
#021D03 #021D03 #022404 #055E0A #089811

Accessibility & contrast

On white

16.71
#022404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#022404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022404
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022404#FFFFFF#000000##FFFFFF
##0224041.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #022404;
/* rgb */ color: rgb(2, 36, 4);
/* oklch */ color: oklch(22.7% 0.070 144.0);
Tailwind
colors: {
  custom: {
    50: '#475f48',
    500: '#022404',
    950: '#000000',
  },
}
SCSS
$custom: #022404;
$custom-light: #475f48;
$custom-dark: #000000;
JSON
{
  "hex": "#022404",
  "rgb": {
    "r": 2,
    "g": 36,
    "b": 4
  },
  "hsl": {
    "h": 123.529,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.2273,
    "c": 0.06956,
    "h": 144
  },
  "luminance": 0.01283
}

Semantic roles & 50–950 ramp

primary
#022404
secondary
#6A1865
accent
#29F2FF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #022404

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

Preview Lab → · Contrast checker → · Palette generator →

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