#022802#022802

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

Color values

HEX#022802
RGBrgb(2, 40, 2)
HSLhsl(120, 90%, 8%)
HSVhsv(120, 95%, 16%)
CMYKcmyk(95%, 0%, 95%, 84.3%)
CIE-LABlab(12.83, -22.74, 17.66)
CIE-LCHlch(12.83, 28.79, 142.17°)
OKLaboklab(24.11% -0.0618 0.0471)
OKLCHoklch(24.11% 0.078 142.7)
XYZxyz(0.7947, 1.5348, 0.3118)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022802 #280228
analogous
#152802 #022802 #022815
triadic
#022802 #020228 #280202
tetradic
#022802 #021528 #280228 #281502
square
#022802 #021528 #280228 #281502
split-complementary
#022802 #150228 #280215
monochromatic
#011D01 #011D01 #022802 #056205 #089D08

Accessibility & contrast

On white

16.07
#022802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#022802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022802
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022802#FFFFFF#000000##FFFFFF
##0228021.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#252005
Tritanopia (blue-blind)
#002621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #022802;
/* rgb */ color: rgb(2, 40, 2);
/* oklch */ color: oklch(24.1% 0.078 142.7);
Tailwind
colors: {
  custom: {
    50: '#486247',
    500: '#022802',
    950: '#000000',
  },
}
SCSS
$custom: #022802;
$custom-light: #486247;
$custom-dark: #000000;
JSON
{
  "hex": "#022802",
  "rgb": {
    "r": 2,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.2411,
    "c": 0.07772,
    "h": 142.7
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #022802

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

Preview Lab → · Contrast checker → · Palette generator →

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