#022C0C#022C0C

#022C0C is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.7% C 0.072 H 147.4°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#022C0C
RGBrgb(2, 44, 12)
HSLhsl(134, 91%, 9%)
HSVhsv(134, 95%, 17%)
CMYKcmyk(95.5%, 0%, 72.7%, 82.7%)
CIE-LABlab(14.63, -22.75, 15.91)
CIE-LCHlch(14.63, 27.76, 145.03°)
OKLaboklab(25.65% -0.0611 0.0391)
OKLCHoklch(25.65% 0.073 147.4)
XYZxyz(0.9920, 1.8407, 0.6508)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022C0C #2C0222
analogous
#0D2C02 #022C0C #022C21
triadic
#022C0C #0C022C #2C0C02
tetradic
#022C0C #020D2C #2C0222 #2C2102
square
#022C0C #020D2C #2C0222 #2C2102
split-complementary
#022C0C #21022C #2C020D
monochromatic
#011D08 #011D08 #022C0C #05671C #07A12C

Accessibility & contrast

On white

15.35
#022C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#022C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022C0C
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022C0C#FFFFFF#000000##FFFFFF
##022C0C1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2709
Deuteranopia (green-blind)
#28240F
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #022c0c;
/* rgb */ color: rgb(2, 44, 12);
/* oklch */ color: oklch(25.7% 0.072 147.4);
Tailwind
colors: {
  custom: {
    50: '#4a664c',
    500: '#022c0c',
    950: '#000000',
  },
}
SCSS
$custom: #022c0c;
$custom-light: #4a664c;
$custom-dark: #000000;
JSON
{
  "hex": "#022c0c",
  "rgb": {
    "r": 2,
    "g": 44,
    "b": 12
  },
  "hsl": {
    "h": 134.286,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.2565,
    "c": 0.0725,
    "h": 147.4
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#022C0C
secondary
#71195C
accent
#29CCFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #022C0C

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

Preview Lab → · Contrast checker → · Palette generator →

#022C0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva