#021308#021308

#021308 is a very dark, muted green. Relative luminance 0.005; OKLCH L 16.7% C 0.035 H 155.6°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#021308
RGBrgb(2, 19, 8)
HSLhsl(141, 81%, 4%)
HSVhsv(141, 89%, 7%)
CMYKcmyk(89.5%, 0%, 57.9%, 92.5%)
CIE-LABlab(4.48, -6.96, 3.30)
CIE-LCHlch(4.48, 7.70, 154.63°)
OKLaboklab(16.65% -0.0319 0.0145)
OKLCHoklch(16.65% 0.035 155.6)
XYZxyz(0.3017, 0.4961, 0.3095)
Luminance0.0050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021308 #13020D
analogous
#051302 #021308 #021311
triadic
#021308 #080213 #130802
tetradic
#021308 #020513 #13020D #131102
square
#021308 #020513 #13020D #131102
split-complementary
#021308 #110213 #130205
monochromatic
#031C0C #031C0C #031C0C #084A1F #0E8237

Accessibility & contrast

On white

19.10
#021308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#021308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021308
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021308#FFFFFF#000000##FFFFFF
##0213081.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131107
Deuteranopia (green-blind)
#100F09
Tritanopia (blue-blind)
#001310
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #021308;
/* rgb */ color: rgb(2, 19, 8);
/* oklch */ color: oklch(16.7% 0.035 155.6);
Tailwind
colors: {
  custom: {
    50: '#47504a',
    500: '#021308',
    950: '#000000',
  },
}
SCSS
$custom: #021308;
$custom-light: #47504a;
$custom-dark: #000000;
JSON
{
  "hex": "#021308",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 8
  },
  "hsl": {
    "h": 141.176,
    "s": 80.952,
    "l": 4.118
  },
  "oklch": {
    "l": 0.1665,
    "c": 0.03508,
    "h": 155.6
  },
  "luminance": 0.00496
}

Semantic roles & 50–950 ramp

primary
#021308
secondary
#581842
accent
#30B1F7
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000201
muted
#777877

Preview Lab

Preview with #021308

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

Preview Lab → · Contrast checker → · Palette generator →

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