#022912#022912

#022912 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.7% C 0.061 H 152.9°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#022912
RGBrgb(2, 41, 18)
HSLhsl(145, 91%, 8%)
HSVhsv(145, 95%, 16%)
CMYKcmyk(95.1%, 0%, 56.1%, 83.9%)
CIE-LABlab(13.49, -20.26, 11.23)
CIE-LCHlch(13.49, 23.17, 151.00°)
OKLaboklab(24.74% -0.0544 0.0279)
OKLCHoklch(24.74% 0.061 152.9)
XYZxyz(0.9271, 1.6423, 0.8403)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022912 #290219
analogous
#052902 #022912 #022925
triadic
#022912 #120229 #291202
tetradic
#022912 #020529 #290219 #292502
square
#022912 #020529 #290219 #292502
split-complementary
#022912 #250229 #290205
monochromatic
#011D0D #011D0D #022912 #05632C #089E45

Accessibility & contrast

On white

15.81
#022912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#022912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022912
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022912#FFFFFF#000000##FFFFFF
##0229121.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292510
Deuteranopia (green-blind)
#242114
Tritanopia (blue-blind)
#002823
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #022912;
/* rgb */ color: rgb(2, 41, 18);
/* oklch */ color: oklch(24.7% 0.061 152.9);
Tailwind
colors: {
  custom: {
    50: '#496350',
    500: '#022912',
    950: '#000000',
  },
}
SCSS
$custom: #022912;
$custom-light: #496350;
$custom-dark: #000000;
JSON
{
  "hex": "#022912",
  "rgb": {
    "r": 2,
    "g": 41,
    "b": 18
  },
  "hsl": {
    "h": 144.615,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24735,
    "c": 0.06113,
    "h": 152.9
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#022912
secondary
#6E194B
accent
#29A7FF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010502
muted
#777978

Preview Lab

Preview with #022912

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

Preview Lab → · Contrast checker → · Palette generator →

#022912 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva