#022F18#022F18

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

Color values

HEX#022F18
RGBrgb(2, 47, 24)
HSLhsl(149, 92%, 10%)
HSVhsv(149, 96%, 18%)
CMYKcmyk(95.7%, 0%, 48.9%, 81.6%)
CIE-LABlab(16.06, -21.57, 10.67)
CIE-LCHlch(16.06, 24.07, 153.67°)
OKLaboklab(26.91% -0.058 0.0266)
OKLCHoklch(26.91% 0.064 155.4)
XYZxyz(1.2063, 2.1117, 1.2080)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022F18 #2F0219
analogous
#032F02 #022F18 #022F2F
triadic
#022F18 #18022F #2F1802
tetradic
#022F18 #02032F #2F0219 #2F2F02
square
#022F18 #02032F #2F0219 #2F2F02
split-complementary
#022F18 #2F022F #2F0203
monochromatic
#011D0F #011D0F #022F18 #046A36 #07A454

Accessibility & contrast

On white

14.76
#022F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022F18
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022F18#FFFFFF#000000##FFFFFF
##022F181.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A16
Deuteranopia (green-blind)
#29261A
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #022f18;
/* rgb */ color: rgb(2, 47, 24);
/* oklch */ color: oklch(26.9% 0.064 155.4);
Tailwind
colors: {
  custom: {
    50: '#4b6855',
    500: '#022f18',
    950: '#000000',
  },
}
SCSS
$custom: #022f18;
$custom-light: #4b6855;
$custom-dark: #000000;
JSON
{
  "hex": "#022f18",
  "rgb": {
    "r": 2,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 149.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26907,
    "c": 0.06383,
    "h": 155.4
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#022F18
secondary
#741947
accent
#2996FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010603
muted
#777A78

Preview Lab

Preview with #022F18

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

Preview Lab → · Contrast checker → · Palette generator →

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