#021908#021908

#021908 is a very dark, muted green. Relative luminance 0.007; OKLCH L 18.9% C 0.046 H 150.7°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#021908
RGBrgb(2, 25, 8)
HSLhsl(136, 85%, 5%)
HSVhsv(136, 92%, 10%)
CMYKcmyk(92%, 0%, 68%, 90.2%)
CIE-LABlab(6.56, -11.19, 6.33)
CIE-LCHlch(6.56, 12.86, 150.52°)
OKLaboklab(18.86% -0.0403 0.0227)
OKLCHoklch(18.86% 0.046 150.7)
XYZxyz(0.4165, 0.7257, 0.3478)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021908 #190213
analogous
#071902 #021908 #021913
triadic
#021908 #080219 #190802
tetradic
#021908 #020719 #190213 #191302
square
#021908 #020719 #190213 #191302
split-complementary
#021908 #130219 #190207
monochromatic
#021C09 #021C09 #021C09 #07521A #0B8A2C

Accessibility & contrast

On white

18.34
#021908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021908
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021908#FFFFFF#000000##FFFFFF
##0219081.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191607
Deuteranopia (green-blind)
#161409
Tritanopia (blue-blind)
#001815
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021908;
/* rgb */ color: rgb(2, 25, 8);
/* oklch */ color: oklch(18.9% 0.046 150.7);
Tailwind
colors: {
  custom: {
    50: '#47554a',
    500: '#021908',
    950: '#000000',
  },
}
SCSS
$custom: #021908;
$custom-light: #47554a;
$custom-dark: #000000;
JSON
{
  "hex": "#021908",
  "rgb": {
    "r": 2,
    "g": 25,
    "b": 8
  },
  "hsl": {
    "h": 135.652,
    "s": 85.185,
    "l": 5.294
  },
  "oklch": {
    "l": 0.18855,
    "c": 0.04623,
    "h": 150.7
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#021908
secondary
#5F184C
accent
#2CC5FB
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000301
muted
#777877

Preview Lab

Preview with #021908

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

Preview Lab → · Contrast checker → · Palette generator →

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