#021107#021107

#021107 is a very dark, muted green. Relative luminance 0.004; OKLCH L 15.9% C 0.033 H 155.4°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#021107
RGBrgb(2, 17, 7)
HSLhsl(140, 79%, 4%)
HSVhsv(140, 88%, 7%)
CMYKcmyk(88.2%, 0%, 58.8%, 93.3%)
CIE-LABlab(3.88, -5.90, 2.82)
CIE-LCHlch(3.88, 6.54, 154.44°)
OKLaboklab(15.87% -0.0298 0.0136)
OKLCHoklch(15.87% 0.033 155.4)
XYZxyz(0.2638, 0.4291, 0.2699)
Luminance0.0043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021107 #11020C
analogous
#041102 #021107 #02110E
triadic
#021107 #070211 #110702
tetradic
#021107 #020411 #11020C #110E02
square
#021107 #020411 #11020C #110E02
split-complementary
#021107 #0E0211 #110204
monochromatic
#031B0B #031B0B #031B0B #08481E #0F7F34

Accessibility & contrast

On white

19.34
#021107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#021107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021107
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021107#FFFFFF#000000##FFFFFF
##0211071.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110F06
Deuteranopia (green-blind)
#0E0D08
Tritanopia (blue-blind)
#00110E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #021107;
/* rgb */ color: rgb(2, 17, 7);
/* oklch */ color: oklch(15.9% 0.033 155.4);
Tailwind
colors: {
  custom: {
    50: '#474f4a',
    500: '#021107',
    950: '#000000',
  },
}
SCSS
$custom: #021107;
$custom-light: #474f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#021107",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 7
  },
  "hsl": {
    "h": 140,
    "s": 78.947,
    "l": 3.725
  },
  "oklch": {
    "l": 0.15872,
    "c": 0.03274,
    "h": 155.4
  },
  "luminance": 0.00429
}

Semantic roles & 50–950 ramp

primary
#021107
secondary
#561942
accent
#32B4F5
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #021107

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

Preview Lab → · Contrast checker → · Palette generator →

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