#021C08#021C08

#021C08 is a very dark, muted green. Relative luminance 0.009; OKLCH L 19.9% C 0.051 H 149.2°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#021C08
RGBrgb(2, 28, 8)
HSLhsl(134, 87%, 6%)
HSVhsv(134, 93%, 11%)
CMYKcmyk(92.9%, 0%, 71.4%, 89%)
CIE-LABlab(7.78, -13.69, 8.11)
CIE-LCHlch(7.78, 15.91, 149.35°)
OKLaboklab(19.94% -0.0442 0.0264)
OKLCHoklch(19.94% 0.051 149.2)
XYZxyz(0.4841, 0.8609, 0.3703)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C08 #1C0216
analogous
#091C02 #021C08 #021C15
triadic
#021C08 #08021C #1C0802
tetradic
#021C08 #02091C #1C0216 #1C1502
square
#021C08 #02091C #1C0216 #1C1502
split-complementary
#021C08 #15021C #1C0209
monochromatic
#021D08 #021D08 #021D08 #065518 #0A8E29

Accessibility & contrast

On white

17.92
#021C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C08
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C08#FFFFFF#000000##FFFFFF
##021C081.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1907
Deuteranopia (green-blind)
#191609
Tritanopia (blue-blind)
#001B17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021c08;
/* rgb */ color: rgb(2, 28, 8);
/* oklch */ color: oklch(19.9% 0.051 149.2);
Tailwind
colors: {
  custom: {
    50: '#47584a',
    500: '#021c08',
    950: '#000000',
  },
}
SCSS
$custom: #021c08;
$custom-light: #47584a;
$custom-dark: #000000;
JSON
{
  "hex": "#021c08",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 8
  },
  "hsl": {
    "h": 133.846,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19944,
    "c": 0.05148,
    "h": 149.2
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#021C08
secondary
#621851
accent
#2BCCFD
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021C08

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

Preview Lab → · Contrast checker → · Palette generator →

#021C08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva