#022A07#022A07

#022A07 is a very dark, moderate green. Relative luminance 0.017; OKLCH L 24.9% C 0.075 H 145.2°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#022A07
RGBrgb(2, 42, 7)
HSLhsl(128, 91%, 9%)
HSVhsv(128, 95%, 16%)
CMYKcmyk(95.2%, 0%, 83.3%, 83.5%)
CIE-LABlab(13.73, -22.72, 16.83)
CIE-LCHlch(13.73, 28.27, 143.48°)
OKLaboklab(24.89% -0.0612 0.0426)
OKLCHoklch(24.89% 0.075 145.2)
XYZxyz(0.8913, 1.6841, 0.4791)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022A07 #2A0225
analogous
#112A02 #022A07 #022A1B
triadic
#022A07 #07022A #2A0702
tetradic
#022A07 #02112A #2A0225 #2A1B02
square
#022A07 #02112A #2A0225 #2A1B02
split-complementary
#022A07 #1B022A #2A0211
monochromatic
#011D05 #011D05 #022A07 #056411 #089F1A

Accessibility & contrast

On white

15.71
#022A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022A07
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022A07#FFFFFF#000000##FFFFFF
##022A071.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #022a07;
/* rgb */ color: rgb(2, 42, 7);
/* oklch */ color: oklch(24.9% 0.075 145.2);
Tailwind
colors: {
  custom: {
    50: '#49644a',
    500: '#022a07',
    950: '#000000',
  },
}
SCSS
$custom: #022a07;
$custom-light: #49644a;
$custom-dark: #000000;
JSON
{
  "hex": "#022a07",
  "rgb": {
    "r": 2,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 127.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24886,
    "c": 0.07461,
    "h": 145.2
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#022A07
secondary
#6F1964
accent
#29E4FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #022A07

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

Preview Lab → · Contrast checker → · Palette generator →

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