#022F17#022F17

#022F17 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.9% C 0.065 H 154.4°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#022F17
RGBrgb(2, 47, 23)
HSLhsl(148, 92%, 10%)
HSVhsv(148, 96%, 18%)
CMYKcmyk(95.7%, 0%, 51.1%, 81.6%)
CIE-LABlab(16.04, -21.81, 11.31)
CIE-LCHlch(16.04, 24.57, 152.59°)
OKLaboklab(26.88% -0.0586 0.028)
OKLCHoklch(26.88% 0.065 154.4)
XYZxyz(1.1961, 2.1076, 1.1542)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022F17 #2F021A
analogous
#032F02 #022F17 #022F2E
triadic
#022F17 #17022F #2F1702
tetradic
#022F17 #02032F #2F021A #2F2E02
square
#022F17 #02032F #2F021A #2F2E02
split-complementary
#022F17 #2E022F #2F0203
monochromatic
#011D0E #011D0E #022F17 #046A34 #07A450

Accessibility & contrast

On white

14.77
#022F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#022F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022F17
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022F17#FFFFFF#000000##FFFFFF
##022F171.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A15
Deuteranopia (green-blind)
#2A2619
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #022f17;
/* rgb */ color: rgb(2, 47, 23);
/* oklch */ color: oklch(26.9% 0.065 154.4);
Tailwind
colors: {
  custom: {
    50: '#4b6854',
    500: '#022f17',
    950: '#000000',
  },
}
SCSS
$custom: #022f17;
$custom-light: #4b6854;
$custom-dark: #000000;
JSON
{
  "hex": "#022f17",
  "rgb": {
    "r": 2,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 148,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26883,
    "c": 0.06498,
    "h": 154.4
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#022F17
secondary
#741949
accent
#299BFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #022F17

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

Preview Lab → · Contrast checker → · Palette generator →

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