#022104#022104

#022104 is a very dark, moderate green. Relative luminance 0.011; OKLCH L 21.7% C 0.065 H 144.3°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#022104
RGBrgb(2, 33, 4)
HSLhsl(124, 89%, 7%)
HSVhsv(124, 94%, 13%)
CMYKcmyk(93.9%, 0%, 87.9%, 87.1%)
CIE-LABlab(9.87, -18.34, 12.76)
CIE-LCHlch(9.87, 22.35, 145.18°)
OKLaboklab(21.66% -0.0529 0.0381)
OKLCHoklch(21.66% 0.065 144.3)
XYZxyz(0.5908, 1.1093, 0.2978)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022104 #21021F
analogous
#102102 #022104 #022114
triadic
#022104 #040221 #210402
tetradic
#022104 #021021 #21021F #211402
square
#022104 #021021 #21021F #211402
split-complementary
#022104 #140221 #210210
monochromatic
#021D03 #021D03 #022104 #055B0B #099412

Accessibility & contrast

On white

17.19
#022104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022104
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022104#FFFFFF#000000##FFFFFF
##0221041.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.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: #022104;
/* rgb */ color: rgb(2, 33, 4);
/* oklch */ color: oklch(21.7% 0.065 144.3);
Tailwind
colors: {
  custom: {
    50: '#465c48',
    500: '#022104',
    950: '#000000',
  },
}
SCSS
$custom: #022104;
$custom-light: #465c48;
$custom-dark: #000000;
JSON
{
  "hex": "#022104",
  "rgb": {
    "r": 2,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 123.871,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21659,
    "c": 0.06518,
    "h": 144.3
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#022104
secondary
#671862
accent
#29F1FF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #022104

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

Preview Lab → · Contrast checker → · Palette generator →

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