#022F12#022F12

#022F12 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.8% C 0.071 H 150.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#022F12
RGBrgb(2, 47, 18)
HSLhsl(141, 92%, 10%)
HSVhsv(141, 96%, 18%)
CMYKcmyk(95.7%, 0%, 61.7%, 81.6%)
CIE-LABlab(15.95, -22.91, 14.42)
CIE-LCHlch(15.95, 27.07, 147.82°)
OKLaboklab(26.78% -0.0614 0.035)
OKLCHoklch(26.78% 0.071 150.4)
XYZxyz(1.1506, 2.0895, 0.9148)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022F12 #2F021F
analogous
#092F02 #022F12 #022F29
triadic
#022F12 #12022F #2F1202
tetradic
#022F12 #02092F #2F021F #2F2902
square
#022F12 #02092F #2F021F #2F2902
split-complementary
#022F12 #29022F #2F0209
monochromatic
#011D0B #011D0B #022F12 #046A28 #07A43F

Accessibility & contrast

On white

14.81
#022F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022F12
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022F12#FFFFFF#000000##FFFFFF
##022F121.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A10
Deuteranopia (green-blind)
#2A2614
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #022f12;
/* rgb */ color: rgb(2, 47, 18);
/* oklch */ color: oklch(26.8% 0.071 150.4);
Tailwind
colors: {
  custom: {
    50: '#4b6850',
    500: '#022f12',
    950: '#000000',
  },
}
SCSS
$custom: #022f12;
$custom-light: #4b6850;
$custom-dark: #000000;
JSON
{
  "hex": "#022f12",
  "rgb": {
    "r": 2,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 141.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26777,
    "c": 0.07067,
    "h": 150.4
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#022F12
secondary
#741953
accent
#29B3FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #022F12

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

Preview Lab → · Contrast checker → · Palette generator →

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