#022F0B#022F0B

#022F0B is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.078 H 146.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#022F0B
RGBrgb(2, 47, 11)
HSLhsl(132, 92%, 10%)
HSVhsv(132, 96%, 18%)
CMYKcmyk(95.7%, 0%, 76.6%, 81.6%)
CIE-LABlab(15.85, -24.12, 17.92)
CIE-LCHlch(15.85, 30.05, 143.40°)
OKLaboklab(26.66% -0.0648 0.0432)
OKLCHoklch(26.66% 0.078 146.3)
XYZxyz(1.1019, 2.0700, 0.6580)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022F0B #2F0226
analogous
#102F02 #022F0B #022F22
triadic
#022F0B #0B022F #2F0B02
tetradic
#022F0B #02102F #2F0226 #2F2202
square
#022F0B #02102F #2F0226 #2F2202
split-complementary
#022F0B #22022F #2F0210
monochromatic
#011D07 #011D07 #022F0B #046A19 #07A426

Accessibility & contrast

On white

14.85
#022F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#022F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022F0B
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022F0B#FFFFFF#000000##FFFFFF
##022F0B1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A07
Deuteranopia (green-blind)
#2B260E
Tritanopia (blue-blind)
#002E27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #022f0b;
/* rgb */ color: rgb(2, 47, 11);
/* oklch */ color: oklch(26.7% 0.078 146.3);
Tailwind
colors: {
  custom: {
    50: '#4b684c',
    500: '#022f0b',
    950: '#000000',
  },
}
SCSS
$custom: #022f0b;
$custom-light: #4b684c;
$custom-dark: #000000;
JSON
{
  "hex": "#022f0b",
  "rgb": {
    "r": 2,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 132,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26662,
    "c": 0.07791,
    "h": 146.3
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#022F0B
secondary
#741962
accent
#29D4FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #022F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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