#022D0D#022D0D

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

Color values

HEX#022D0D
RGBrgb(2, 45, 13)
HSLhsl(135, 91%, 9%)
HSVhsv(135, 96%, 18%)
CMYKcmyk(95.6%, 0%, 71.1%, 82.4%)
CIE-LABlab(15.05, -22.99, 15.99)
CIE-LCHlch(15.05, 28.01, 145.18°)
OKLaboklab(26.01% -0.0617 0.0389)
OKLCHoklch(26.01% 0.073 147.8)
XYZxyz(1.0360, 1.9186, 0.6964)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022D0D #2D0222
analogous
#0D2D02 #022D0D #022D23
triadic
#022D0D #0D022D #2D0D02
tetradic
#022D0D #020D2D #2D0222 #2D2302
square
#022D0D #020D2D #2D0222 #2D2302
split-complementary
#022D0D #23022D #2D020D
monochromatic
#011D08 #011D08 #022D0D #05681E #07A22F

Accessibility & contrast

On white

15.18
#022D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022D0D
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022D0D#FFFFFF#000000##FFFFFF
##022D0D1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #022d0d;
/* rgb */ color: rgb(2, 45, 13);
/* oklch */ color: oklch(26.0% 0.073 147.8);
Tailwind
colors: {
  custom: {
    50: '#4a664d',
    500: '#022d0d',
    950: '#000000',
  },
}
SCSS
$custom: #022d0d;
$custom-light: #4a664d;
$custom-dark: #000000;
JSON
{
  "hex": "#022d0d",
  "rgb": {
    "r": 2,
    "g": 45,
    "b": 13
  },
  "hsl": {
    "h": 135.349,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26008,
    "c": 0.07298,
    "h": 147.8
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#022D0D
secondary
#72195B
accent
#29C8FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #022D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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