#021C07#021C07

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

Color values

HEX#021C07
RGBrgb(2, 28, 7)
HSLhsl(132, 87%, 6%)
HSVhsv(132, 93%, 11%)
CMYKcmyk(92.9%, 0%, 75%, 89%)
CIE-LABlab(7.76, -13.83, 8.49)
CIE-LCHlch(7.76, 16.23, 148.46°)
OKLaboklab(19.92% -0.0449 0.028)
OKLCHoklch(19.92% 0.053 148)
XYZxyz(0.4786, 0.8587, 0.3415)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C07 #1C0217
analogous
#0A1C02 #021C07 #021C14
triadic
#021C07 #07021C #1C0702
tetradic
#021C07 #020A1C #1C0217 #1C1402
square
#021C07 #020A1C #1C0217 #1C1402
split-complementary
#021C07 #14021C #1C020A
monochromatic
#021D07 #021D07 #021D07 #065515 #0A8E24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##021C07#FFFFFF#000000##FFFFFF
##021C071.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)
#1C1806
Deuteranopia (green-blind)
#191608
Tritanopia (blue-blind)
#001B17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021c07;
/* rgb */ color: rgb(2, 28, 7);
/* oklch */ color: oklch(19.9% 0.053 148.0);
Tailwind
colors: {
  custom: {
    50: '#47584a',
    500: '#021c07',
    950: '#000000',
  },
}
SCSS
$custom: #021c07;
$custom-light: #47584a;
$custom-dark: #000000;
JSON
{
  "hex": "#021c07",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 7
  },
  "hsl": {
    "h": 131.538,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.1992,
    "c": 0.05288,
    "h": 148
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#021C07
secondary
#621854
accent
#2BD4FD
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021C07

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

Preview Lab → · Contrast checker → · Palette generator →

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