#022707#022707

#022707 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.8% C 0.070 H 145.6°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#022707
RGBrgb(2, 39, 7)
HSLhsl(128, 90%, 8%)
HSVhsv(128, 95%, 15%)
CMYKcmyk(94.9%, 0%, 82.1%, 84.7%)
CIE-LABlab(12.48, -21.46, 15.15)
CIE-LCHlch(12.48, 26.27, 144.79°)
OKLaboklab(23.84% -0.0579 0.0397)
OKLCHoklch(23.84% 0.07 145.6)
XYZxyz(0.7888, 1.4792, 0.4449)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022707 #270222
analogous
#0F2702 #022707 #022719
triadic
#022707 #070227 #270702
tetradic
#022707 #020F27 #270222 #271902
square
#022707 #020F27 #270222 #271902
split-complementary
#022707 #190227 #27020F
monochromatic
#011D05 #011D05 #022707 #056111 #089B1C

Accessibility & contrast

On white

16.21
#022707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#022707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022707
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022707#FFFFFF#000000##FFFFFF
##0227071.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282204
Deuteranopia (green-blind)
#231F0A
Tritanopia (blue-blind)
#002620
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #022707;
/* rgb */ color: rgb(2, 39, 7);
/* oklch */ color: oklch(23.8% 0.070 145.6);
Tailwind
colors: {
  custom: {
    50: '#48624a',
    500: '#022707',
    950: '#000000',
  },
}
SCSS
$custom: #022707;
$custom-light: #48624a;
$custom-dark: #000000;
JSON
{
  "hex": "#022707",
  "rgb": {
    "r": 2,
    "g": 39,
    "b": 7
  },
  "hsl": {
    "h": 128.108,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23839,
    "c": 0.07024,
    "h": 145.6
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#022707
secondary
#6C1861
accent
#29E2FF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #022707

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

Preview Lab → · Contrast checker → · Palette generator →

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