#022A0C#022A0C

#022A0C is a very dark, moderate green. Relative luminance 0.017; OKLCH L 25.0% C 0.069 H 147.9°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#022A0C
RGBrgb(2, 42, 12)
HSLhsl(135, 91%, 9%)
HSVhsv(135, 95%, 16%)
CMYKcmyk(95.2%, 0%, 71.4%, 83.5%)
CIE-LABlab(13.80, -21.91, 14.83)
CIE-LCHlch(13.80, 26.46, 145.91°)
OKLaboklab(24.96% -0.0588 0.0369)
OKLCHoklch(24.96% 0.069 147.9)
XYZxyz(0.9193, 1.6953, 0.6265)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022A0C #2A0220
analogous
#0C2A02 #022A0C #022A20
triadic
#022A0C #0C022A #2A0C02
tetradic
#022A0C #020C2A #2A0220 #2A2002
square
#022A0C #020C2A #2A0220 #2A2002
split-complementary
#022A0C #20022A #2A020C
monochromatic
#011D08 #011D08 #022A0C #05641D #089F2D

Accessibility & contrast

On white

15.68
#022A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#022A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022A0C
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022A0C#FFFFFF#000000##FFFFFF
##022A0C1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2509
Deuteranopia (green-blind)
#26220E
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #022a0c;
/* rgb */ color: rgb(2, 42, 12);
/* oklch */ color: oklch(25.0% 0.069 147.9);
Tailwind
colors: {
  custom: {
    50: '#49644c',
    500: '#022a0c',
    950: '#000000',
  },
}
SCSS
$custom: #022a0c;
$custom-light: #49644c;
$custom-dark: #000000;
JSON
{
  "hex": "#022a0c",
  "rgb": {
    "r": 2,
    "g": 42,
    "b": 12
  },
  "hsl": {
    "h": 135,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24961,
    "c": 0.06947,
    "h": 147.9
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#022A0C
secondary
#6F195A
accent
#29C9FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #022A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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