#022302#022302

#022302 is a very dark, moderate green. Relative luminance 0.012; OKLCH L 22.3% C 0.071 H 142.7°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#022302
RGBrgb(2, 35, 2)
HSLhsl(120, 89%, 7%)
HSVhsv(120, 94%, 14%)
CMYKcmyk(94.3%, 0%, 94.3%, 86.3%)
CIE-LABlab(10.70, -20.02, 14.74)
CIE-LCHlch(10.70, 24.86, 143.64°)
OKLaboklab(22.34% -0.0565 0.043)
OKLCHoklch(22.34% 0.071 142.7)
XYZxyz(0.6370, 1.2193, 0.2592)
Luminance0.0122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022302 #230223
analogous
#132302 #022302 #022313
triadic
#022302 #020223 #230202
tetradic
#022302 #021323 #230223 #231302
square
#022302 #021323 #230223 #231302
split-complementary
#022302 #130223 #230213
monochromatic
#021D02 #021D02 #022302 #055D05 #099709

Accessibility & contrast

On white

16.88
#022302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#022302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022302
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022302#FFFFFF#000000##FFFFFF
##0223021.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F00
Deuteranopia (green-blind)
#201C04
Tritanopia (blue-blind)
#00221C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #022302;
/* rgb */ color: rgb(2, 35, 2);
/* oklch */ color: oklch(22.3% 0.071 142.7);
Tailwind
colors: {
  custom: {
    50: '#475e47',
    500: '#022302',
    950: '#000000',
  },
}
SCSS
$custom: #022302;
$custom-light: #475e47;
$custom-dark: #000000;
JSON
{
  "hex": "#022302",
  "rgb": {
    "r": 2,
    "g": 35,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22338,
    "c": 0.07098,
    "h": 142.7
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#022302
secondary
#691869
accent
#29FFFF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #022302

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

Preview Lab → · Contrast checker → · Palette generator →

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