#022D0C#022D0C

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

Color values

HEX#022D0C
RGBrgb(2, 45, 12)
HSLhsl(134, 91%, 9%)
HSVhsv(134, 96%, 18%)
CMYKcmyk(95.6%, 0%, 73.3%, 82.4%)
CIE-LABlab(15.04, -23.16, 16.44)
CIE-LCHlch(15.04, 28.40, 144.62°)
OKLaboklab(25.99% -0.0622 0.0401)
OKLCHoklch(25.99% 0.074 147.2)
XYZxyz(1.0297, 1.9161, 0.6633)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022D0C #2D0223
analogous
#0E2D02 #022D0C #022D22
triadic
#022D0C #0C022D #2D0C02
tetradic
#022D0C #020E2D #2D0223 #2D2202
square
#022D0C #020E2D #2D0223 #2D2202
split-complementary
#022D0C #22022D #2D020E
monochromatic
#011D08 #011D08 #022D0C #05681C #07A22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##022D0C#FFFFFF#000000##FFFFFF
##022D0C1.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)
#2E2809
Deuteranopia (green-blind)
#29240F
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #022d0c;
/* rgb */ color: rgb(2, 45, 12);
/* oklch */ color: oklch(26.0% 0.074 147.2);
Tailwind
colors: {
  custom: {
    50: '#4a664c',
    500: '#022d0c',
    950: '#000000',
  },
}
SCSS
$custom: #022d0c;
$custom-light: #4a664c;
$custom-dark: #000000;
JSON
{
  "hex": "#022d0c",
  "rgb": {
    "r": 2,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 133.953,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25993,
    "c": 0.074,
    "h": 147.2
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#022D0C
secondary
#72195D
accent
#29CDFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #022D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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