#02220C#02220C

#02220C is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.2% C 0.057 H 150.6°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#02220C
RGBrgb(2, 34, 12)
HSLhsl(139, 89%, 7%)
HSVhsv(139, 94%, 13%)
CMYKcmyk(94.1%, 0%, 64.7%, 86.7%)
CIE-LABlab(10.43, -17.80, 10.25)
CIE-LCHlch(10.43, 20.54, 150.07°)
OKLaboklab(22.17% -0.0494 0.0279)
OKLCHoklch(22.17% 0.057 150.6)
XYZxyz(0.6634, 1.1834, 0.5412)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02220C #220218
analogous
#082202 #02220C #02221C
triadic
#02220C #0C0222 #220C02
tetradic
#02220C #020822 #220218 #221C02
square
#02220C #020822 #220218 #221C02
split-complementary
#02220C #1C0222 #220208
monochromatic
#021D0A #021D0A #02220C #055C20 #099635

Accessibility & contrast

On white

16.98
#02220C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#02220C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02220C
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02220C#FFFFFF#000000##FFFFFF
##02220C1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E0A
Deuteranopia (green-blind)
#1E1B0E
Tritanopia (blue-blind)
#00211D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #02220c;
/* rgb */ color: rgb(2, 34, 12);
/* oklch */ color: oklch(22.2% 0.057 150.6);
Tailwind
colors: {
  custom: {
    50: '#475d4c',
    500: '#02220c',
    950: '#000000',
  },
}
SCSS
$custom: #02220c;
$custom-light: #475d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#02220c",
  "rgb": {
    "r": 2,
    "g": 34,
    "b": 12
  },
  "hsl": {
    "h": 138.75,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22171,
    "c": 0.05668,
    "h": 150.6
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#02220C
secondary
#68184F
accent
#29BCFF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #02220C

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

Preview Lab → · Contrast checker → · Palette generator →

#02220C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva