#022306#022306

#022306 is a very dark, moderate green. Relative luminance 0.012; OKLCH L 22.4% C 0.065 H 145.5°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#022306
RGBrgb(2, 35, 6)
HSLhsl(127, 89%, 7%)
HSVhsv(127, 94%, 14%)
CMYKcmyk(94.3%, 0%, 82.9%, 86.3%)
CIE-LABlab(10.76, -19.40, 13.20)
CIE-LCHlch(10.76, 23.46, 145.77°)
OKLaboklab(22.41% -0.0539 0.0371)
OKLCHoklch(22.41% 0.065 145.5)
XYZxyz(0.6589, 1.2280, 0.3746)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022306 #23021F
analogous
#0F2302 #022306 #022317
triadic
#022306 #060223 #230602
tetradic
#022306 #020F23 #23021F #231702
square
#022306 #020F23 #23021F #231702
split-complementary
#022306 #170223 #23020F
monochromatic
#021D05 #021D05 #022306 #055D10 #09971A

Accessibility & contrast

On white

16.86
#022306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#022306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022306
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022306#FFFFFF#000000##FFFFFF
##0223061.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F04
Deuteranopia (green-blind)
#201C08
Tritanopia (blue-blind)
#00221D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #022306;
/* rgb */ color: rgb(2, 35, 6);
/* oklch */ color: oklch(22.4% 0.065 145.5);
Tailwind
colors: {
  custom: {
    50: '#475e49',
    500: '#022306',
    950: '#000000',
  },
}
SCSS
$custom: #022306;
$custom-light: #475e49;
$custom-dark: #000000;
JSON
{
  "hex": "#022306",
  "rgb": {
    "r": 2,
    "g": 35,
    "b": 6
  },
  "hsl": {
    "h": 127.273,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22411,
    "c": 0.06545,
    "h": 145.5
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#022306
secondary
#69185F
accent
#29E5FF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000401
muted
#777977

Preview Lab

Preview with #022306

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

Preview Lab → · Contrast checker → · Palette generator →

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