#021808#021808

#021808 is a very dark, muted green. Relative luminance 0.007; OKLCH L 18.5% C 0.044 H 151.3°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#021808
RGBrgb(2, 24, 8)
HSLhsl(136, 85%, 5%)
HSVhsv(136, 92%, 9%)
CMYKcmyk(91.7%, 0%, 66.7%, 90.6%)
CIE-LABlab(6.18, -10.42, 5.77)
CIE-LCHlch(6.18, 11.91, 151.01°)
OKLaboklab(18.49% -0.039 0.0214)
OKLCHoklch(18.49% 0.044 151.3)
XYZxyz(0.3955, 0.6837, 0.3408)
Luminance0.0068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021808 #180212
analogous
#071802 #021808 #021813
triadic
#021808 #080218 #180802
tetradic
#021808 #020718 #180212 #181302
square
#021808 #020718 #180212 #181302
split-complementary
#021808 #130218 #180207
monochromatic
#021C09 #021C09 #021C09 #07501B #0B892E

Accessibility & contrast

On white

18.47
#021808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#021808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021808
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021808#FFFFFF#000000##FFFFFF
##0218081.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181507
Deuteranopia (green-blind)
#151309
Tritanopia (blue-blind)
#001714
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #021808;
/* rgb */ color: rgb(2, 24, 8);
/* oklch */ color: oklch(18.5% 0.044 151.3);
Tailwind
colors: {
  custom: {
    50: '#47544a',
    500: '#021808',
    950: '#000000',
  },
}
SCSS
$custom: #021808;
$custom-light: #47544a;
$custom-dark: #000000;
JSON
{
  "hex": "#021808",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 8
  },
  "hsl": {
    "h": 136.364,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.1849,
    "c": 0.04444,
    "h": 151.3
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#021808
secondary
#5E184B
accent
#2DC3FB
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000201
muted
#777877

Preview Lab

Preview with #021808

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

Preview Lab → · Contrast checker → · Palette generator →

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