#022402#022402

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

Color values

HEX#022402
RGBrgb(2, 36, 2)
HSLhsl(120, 89%, 7%)
HSVhsv(120, 94%, 14%)
CMYKcmyk(94.4%, 0%, 94.4%, 85.9%)
CIE-LABlab(11.13, -20.65, 15.34)
CIE-LCHlch(11.13, 25.72, 143.40°)
OKLaboklab(22.7% -0.0576 0.0438)
OKLCHoklch(22.7% 0.072 142.7)
XYZxyz(0.6668, 1.2790, 0.2691)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022402 #240224
analogous
#132402 #022402 #022413
triadic
#022402 #020224 #240202
tetradic
#022402 #021324 #240224 #241302
square
#022402 #021324 #240224 #241302
split-complementary
#022402 #130224 #240213
monochromatic
#021D02 #021D02 #022402 #055E05 #089808

Accessibility & contrast

On white

16.72
#022402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022402
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022402#FFFFFF#000000##FFFFFF
##0224021.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.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: #022402;
/* rgb */ color: rgb(2, 36, 2);
/* oklch */ color: oklch(22.7% 0.072 142.7);
Tailwind
colors: {
  custom: {
    50: '#475f47',
    500: '#022402',
    950: '#000000',
  },
}
SCSS
$custom: #022402;
$custom-light: #475f47;
$custom-dark: #000000;
JSON
{
  "hex": "#022402",
  "rgb": {
    "r": 2,
    "g": 36,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22695,
    "c": 0.07235,
    "h": 142.7
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#022402
secondary
#6A186A
accent
#29FFFF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #022402

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

Preview Lab → · Contrast checker → · Palette generator →

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