#022704#022704

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

Color values

HEX#022704
RGBrgb(2, 39, 4)
HSLhsl(123, 90%, 8%)
HSVhsv(123, 95%, 15%)
CMYKcmyk(94.9%, 0%, 89.7%, 84.7%)
CIE-LABlab(12.43, -21.95, 16.31)
CIE-LCHlch(12.43, 27.35, 143.39°)
OKLaboklab(23.79% -0.0596 0.0436)
OKLCHoklch(23.79% 0.074 143.8)
XYZxyz(0.7724, 1.4726, 0.3584)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022704 #270225
analogous
#122702 #022704 #022716
triadic
#022704 #040227 #270402
tetradic
#022704 #021227 #270225 #271602
square
#022704 #021227 #270225 #271602
split-complementary
#022704 #160227 #270212
monochromatic
#011D03 #011D03 #022704 #05610A #089B10

Accessibility & contrast

On white

16.22
#022704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022704
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022704#FFFFFF#000000##FFFFFF
##0227041.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282201
Deuteranopia (green-blind)
#241F07
Tritanopia (blue-blind)
#002620
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #022704;
/* rgb */ color: rgb(2, 39, 4);
/* oklch */ color: oklch(23.8% 0.074 143.8);
Tailwind
colors: {
  custom: {
    50: '#486248',
    500: '#022704',
    950: '#000000',
  },
}
SCSS
$custom: #022704;
$custom-light: #486248;
$custom-dark: #000000;
JSON
{
  "hex": "#022704",
  "rgb": {
    "r": 2,
    "g": 39,
    "b": 4
  },
  "hsl": {
    "h": 123.243,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23791,
    "c": 0.07382,
    "h": 143.8
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#022704
secondary
#6C1868
accent
#29F3FF
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #022704

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

Preview Lab → · Contrast checker → · Palette generator →

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