#021108#021108

#021108 is a very dark, muted green. Relative luminance 0.004; OKLCH L 15.9% C 0.031 H 158.3°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#021108
RGBrgb(2, 17, 8)
HSLhsl(144, 79%, 4%)
HSVhsv(144, 88%, 7%)
CMYKcmyk(88.2%, 0%, 52.9%, 93.3%)
CIE-LABlab(3.90, -5.76, 2.44)
CIE-LCHlch(3.90, 6.26, 157.01°)
OKLaboklab(15.91% -0.029 0.0115)
OKLCHoklch(15.91% 0.031 158.3)
XYZxyz(0.2693, 0.4313, 0.2987)
Luminance0.0043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021108 #11020B
analogous
#031102 #021108 #02110F
triadic
#021108 #080211 #110802
tetradic
#021108 #020311 #11020B #110F02
square
#021108 #020311 #11020B #110F02
split-complementary
#021108 #0F0211 #110203
monochromatic
#031B0D #031B0D #031B0D #084822 #0F7F3C

Accessibility & contrast

On white

19.33
#021108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#021108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021108
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021108#FFFFFF#000000##FFFFFF
##0211081.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110F08
Deuteranopia (green-blind)
#0E0D09
Tritanopia (blue-blind)
#00110F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #021108;
/* rgb */ color: rgb(2, 17, 8);
/* oklch */ color: oklch(15.9% 0.031 158.3);
Tailwind
colors: {
  custom: {
    50: '#474f4a',
    500: '#021108',
    950: '#000000',
  },
}
SCSS
$custom: #021108;
$custom-light: #474f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#021108",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 8
  },
  "hsl": {
    "h": 144,
    "s": 78.947,
    "l": 3.725
  },
  "oklch": {
    "l": 0.15909,
    "c": 0.03117,
    "h": 158.3
  },
  "luminance": 0.00431
}

Semantic roles & 50–950 ramp

primary
#021108
secondary
#56193E
accent
#32A7F5
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #021108

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

Preview Lab → · Contrast checker → · Palette generator →

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