#022708#022708

#022708 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.9% C 0.069 H 146.2°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#022708
RGBrgb(2, 39, 8)
HSLhsl(130, 90%, 8%)
HSVhsv(130, 95%, 15%)
CMYKcmyk(94.9%, 0%, 79.5%, 84.7%)
CIE-LABlab(12.49, -21.30, 14.76)
CIE-LCHlch(12.49, 25.91, 145.28°)
OKLaboklab(23.86% -0.0574 0.0385)
OKLCHoklch(23.86% 0.069 146.2)
XYZxyz(0.7943, 1.4814, 0.4738)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022708 #270221
analogous
#0E2702 #022708 #02271A
triadic
#022708 #080227 #270802
tetradic
#022708 #020E27 #270221 #271A02
square
#022708 #020E27 #270221 #271A02
split-complementary
#022708 #1A0227 #27020E
monochromatic
#011D06 #011D06 #022708 #056114 #089B20

Accessibility & contrast

On white

16.20
#022708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022708
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022708#FFFFFF#000000##FFFFFF
##0227081.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #022708;
/* rgb */ color: rgb(2, 39, 8);
/* oklch */ color: oklch(23.9% 0.069 146.2);
Tailwind
colors: {
  custom: {
    50: '#48624a',
    500: '#022708',
    950: '#000000',
  },
}
SCSS
$custom: #022708;
$custom-light: #48624a;
$custom-dark: #000000;
JSON
{
  "hex": "#022708",
  "rgb": {
    "r": 2,
    "g": 39,
    "b": 8
  },
  "hsl": {
    "h": 129.73,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23855,
    "c": 0.0691,
    "h": 146.2
  },
  "luminance": 0.01481
}

Semantic roles & 50–950 ramp

primary
#022708
secondary
#6C185F
accent
#29DCFF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #022708

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

Preview Lab → · Contrast checker → · Palette generator →

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