#022102#022102

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

Color values

HEX#022102
RGBrgb(2, 33, 2)
HSLhsl(120, 89%, 7%)
HSVhsv(120, 94%, 13%)
CMYKcmyk(93.9%, 0%, 93.9%, 87.1%)
CIE-LABlab(9.84, -18.65, 13.53)
CIE-LCHlch(9.84, 23.04, 144.05°)
OKLaboklab(21.62% -0.0543 0.0413)
OKLCHoklch(21.62% 0.068 142.8)
XYZxyz(0.5798, 1.1049, 0.2401)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022102 #210221
analogous
#122102 #022102 #022112
triadic
#022102 #020221 #210202
tetradic
#022102 #021221 #210221 #211202
square
#022102 #021221 #210221 #211202
split-complementary
#022102 #120221 #210212
monochromatic
#021D02 #021D02 #022102 #055B05 #099409

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##022102#FFFFFF#000000##FFFFFF
##0221021.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)
#221D00
Deuteranopia (green-blind)
#1E1A04
Tritanopia (blue-blind)
#00201B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #022102;
/* rgb */ color: rgb(2, 33, 2);
/* oklch */ color: oklch(21.6% 0.068 142.8);
Tailwind
colors: {
  custom: {
    50: '#465c47',
    500: '#022102',
    950: '#000000',
  },
}
SCSS
$custom: #022102;
$custom-light: #465c47;
$custom-dark: #000000;
JSON
{
  "hex": "#022102",
  "rgb": {
    "r": 2,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.2162,
    "c": 0.06821,
    "h": 142.8
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#022102
secondary
#671867
accent
#29FFFF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #022102

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

Preview Lab → · Contrast checker → · Palette generator →

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