#021A07#021A07

#021A07 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.2% C 0.049 H 148.8°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#021A07
RGBrgb(2, 26, 7)
HSLhsl(133, 86%, 5%)
HSVhsv(133, 92%, 10%)
CMYKcmyk(92.3%, 0%, 73.1%, 89.8%)
CIE-LABlab(6.93, -12.14, 7.28)
CIE-LCHlch(6.93, 14.15, 149.05°)
OKLaboklab(19.19% -0.0423 0.0256)
OKLCHoklch(19.19% 0.049 148.8)
XYZxyz(0.4327, 0.7670, 0.3262)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A07 #1A0215
analogous
#091A02 #021A07 #021A13
triadic
#021A07 #07021A #1A0702
tetradic
#021A07 #02091A #1A0215 #1A1302
square
#021A07 #02091A #1A0215 #1A1302
split-complementary
#021A07 #13021A #1A0209
monochromatic
#021C08 #021C08 #021C08 #065316 #0B8C26

Accessibility & contrast

On white

18.21
#021A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A07
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A07#FFFFFF#000000##FFFFFF
##021A071.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1706
Deuteranopia (green-blind)
#171408
Tritanopia (blue-blind)
#001916
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021a07;
/* rgb */ color: rgb(2, 26, 7);
/* oklch */ color: oklch(19.2% 0.049 148.8);
Tailwind
colors: {
  custom: {
    50: '#47564a',
    500: '#021a07',
    950: '#000000',
  },
}
SCSS
$custom: #021a07;
$custom-light: #47564a;
$custom-dark: #000000;
JSON
{
  "hex": "#021a07",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 7
  },
  "hsl": {
    "h": 132.5,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19194,
    "c": 0.04946,
    "h": 148.8
  },
  "luminance": 0.00767
}

Semantic roles & 50–950 ramp

primary
#021A07
secondary
#601851
accent
#2CD1FC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021A07

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

Preview Lab → · Contrast checker → · Palette generator →

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