#022D0F#022D0F

#022D0F is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.0% C 0.071 H 149.0°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#022D0F
RGBrgb(2, 45, 15)
HSLhsl(138, 91%, 9%)
HSVhsv(138, 96%, 18%)
CMYKcmyk(95.6%, 0%, 66.7%, 82.4%)
CIE-LABlab(15.08, -22.64, 15.02)
CIE-LCHlch(15.08, 27.17, 146.43°)
OKLaboklab(26.04% -0.0607 0.0365)
OKLCHoklch(26.04% 0.071 149)
XYZxyz(1.0496, 1.9240, 0.7679)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022D0F #2D0220
analogous
#0B2D02 #022D0F #022D25
triadic
#022D0F #0F022D #2D0F02
tetradic
#022D0F #020B2D #2D0220 #2D2502
square
#022D0F #020B2D #2D0220 #2D2502
split-complementary
#022D0F #25022D #2D020B
monochromatic
#011D0A #011D0A #022D0F #056823 #07A236

Accessibility & contrast

On white

15.16
#022D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#022D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022D0F
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022D0F#FFFFFF#000000##FFFFFF
##022D0F1.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280C
Deuteranopia (green-blind)
#292411
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #022d0f;
/* rgb */ color: rgb(2, 45, 15);
/* oklch */ color: oklch(26.0% 0.071 149.0);
Tailwind
colors: {
  custom: {
    50: '#4a664e',
    500: '#022d0f',
    950: '#000000',
  },
}
SCSS
$custom: #022d0f;
$custom-light: #4a664e;
$custom-dark: #000000;
JSON
{
  "hex": "#022d0f",
  "rgb": {
    "r": 2,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 138.14,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26042,
    "c": 0.07087,
    "h": 149
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#022D0F
secondary
#721957
accent
#29BEFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #022D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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