#022702#022702

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

Color values

HEX#022702
RGBrgb(2, 39, 2)
HSLhsl(120, 90%, 8%)
HSVhsv(120, 95%, 15%)
CMYKcmyk(94.9%, 0%, 94.9%, 84.7%)
CIE-LABlab(12.40, -22.27, 17.09)
CIE-LCHlch(12.40, 28.07, 142.51°)
OKLaboklab(23.76% -0.0608 0.0463)
OKLCHoklch(23.76% 0.076 142.7)
XYZxyz(0.7615, 1.4682, 0.3007)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022702 #270227
analogous
#142702 #022702 #022714
triadic
#022702 #020227 #270202
tetradic
#022702 #021427 #270227 #271402
square
#022702 #021427 #270227 #271402
split-complementary
#022702 #140227 #270214
monochromatic
#011D01 #011D01 #022702 #056105 #089B08

Accessibility & contrast

On white

16.23
#022702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#022702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022702
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022702#FFFFFF#000000##FFFFFF
##0227021.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#241F05
Tritanopia (blue-blind)
#002520
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #022702;
/* rgb */ color: rgb(2, 39, 2);
/* oklch */ color: oklch(23.8% 0.076 142.7);
Tailwind
colors: {
  custom: {
    50: '#476247',
    500: '#022702',
    950: '#000000',
  },
}
SCSS
$custom: #022702;
$custom-light: #476247;
$custom-dark: #000000;
JSON
{
  "hex": "#022702",
  "rgb": {
    "r": 2,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23758,
    "c": 0.07638,
    "h": 142.7
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#022702
secondary
#6C186C
accent
#29FFFF
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #022702

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

Preview Lab → · Contrast checker → · Palette generator →

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