#021102#021102

#021102 is a very dark, muted green. Relative luminance 0.004; OKLCH L 15.7% C 0.043 H 143.2°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#021102
RGBrgb(2, 17, 2)
HSLhsl(120, 79%, 4%)
HSVhsv(120, 88%, 7%)
CMYKcmyk(88.2%, 0%, 88.2%, 93.3%)
CIE-LABlab(3.78, -6.60, 4.72)
CIE-LCHlch(3.78, 8.11, 144.45°)
OKLaboklab(15.69% -0.0348 0.0261)
OKLCHoklch(15.69% 0.043 143.2)
XYZxyz(0.2364, 0.4182, 0.1257)
Luminance0.0042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021102 #110211
analogous
#091102 #021102 #021109
triadic
#021102 #020211 #110202
tetradic
#021102 #020911 #110211 #110902
square
#021102 #020911 #110211 #110902
split-complementary
#021102 #090211 #110209
monochromatic
#031B03 #031B03 #031B03 #084808 #0F7F0F

Accessibility & contrast

On white

19.38
#021102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#021102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021102
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021102#FFFFFF#000000##FFFFFF
##0211021.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120E01
Deuteranopia (green-blind)
#0F0D03
Tritanopia (blue-blind)
#01100D
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #021102;
/* rgb */ color: rgb(2, 17, 2);
/* oklch */ color: oklch(15.7% 0.043 143.2);
Tailwind
colors: {
  custom: {
    50: '#474f47',
    500: '#021102',
    950: '#000000',
  },
}
SCSS
$custom: #021102;
$custom-light: #474f47;
$custom-dark: #000000;
JSON
{
  "hex": "#021102",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 78.947,
    "l": 3.725
  },
  "oklch": {
    "l": 0.15686,
    "c": 0.04346,
    "h": 143.2
  },
  "luminance": 0.00418
}

Semantic roles & 50–950 ramp

primary
#021102
secondary
#561956
accent
#32F5F5
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #021102

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

Preview Lab → · Contrast checker → · Palette generator →

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