#022A0F#022A0F

#022A0F is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.0% C 0.066 H 149.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#022A0F
RGBrgb(2, 42, 15)
HSLhsl(140, 91%, 9%)
HSVhsv(140, 95%, 16%)
CMYKcmyk(95.2%, 0%, 64.3%, 83.5%)
CIE-LABlab(13.85, -21.35, 13.41)
CIE-LCHlch(13.85, 25.22, 147.86°)
OKLaboklab(25.01% -0.0573 0.0332)
OKLCHoklch(25.01% 0.066 149.9)
XYZxyz(0.9391, 1.7032, 0.7311)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022A0F #2A021D
analogous
#092A02 #022A0F #022A23
triadic
#022A0F #0F022A #2A0F02
tetradic
#022A0F #02092A #2A021D #2A2302
square
#022A0F #02092A #2A021D #2A2302
split-complementary
#022A0F #23022A #2A0209
monochromatic
#011D0A #011D0A #022A0F #056424 #089F39

Accessibility & contrast

On white

15.66
#022A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022A0F
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022A0F#FFFFFF#000000##FFFFFF
##022A0F1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250D
Deuteranopia (green-blind)
#262211
Tritanopia (blue-blind)
#002924
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #022a0f;
/* rgb */ color: rgb(2, 42, 15);
/* oklch */ color: oklch(25.0% 0.066 149.9);
Tailwind
colors: {
  custom: {
    50: '#49644e',
    500: '#022a0f',
    950: '#000000',
  },
}
SCSS
$custom: #022a0f;
$custom-light: #49644e;
$custom-dark: #000000;
JSON
{
  "hex": "#022a0f",
  "rgb": {
    "r": 2,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 139.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25015,
    "c": 0.06619,
    "h": 149.9
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#022A0F
secondary
#6F1953
accent
#29B9FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #022A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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