#021B07#021B07

#021B07 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.6% C 0.051 H 148.4°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#021B07
RGBrgb(2, 27, 7)
HSLhsl(132, 86%, 6%)
HSVhsv(132, 93%, 11%)
CMYKcmyk(92.6%, 0%, 74.1%, 89.4%)
CIE-LABlab(7.34, -12.97, 7.87)
CIE-LCHlch(7.34, 15.17, 148.73°)
OKLaboklab(19.56% -0.0436 0.0268)
OKLCHoklch(19.56% 0.051 148.4)
XYZxyz(0.4553, 0.8121, 0.3337)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B07 #1B0216
analogous
#091B02 #021B07 #021B13
triadic
#021B07 #07021B #1B0702
tetradic
#021B07 #02091B #1B0216 #1B1302
square
#021B07 #02091B #1B0216 #1B1302
split-complementary
#021B07 #13021B #1B0209
monochromatic
#021C07 #021C07 #021C07 #065416 #0A8D25

Accessibility & contrast

On white

18.07
#021B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B07
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B07#FFFFFF#000000##FFFFFF
##021B071.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1806
Deuteranopia (green-blind)
#181508
Tritanopia (blue-blind)
#001A16
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021b07;
/* rgb */ color: rgb(2, 27, 7);
/* oklch */ color: oklch(19.6% 0.051 148.4);
Tailwind
colors: {
  custom: {
    50: '#47574a',
    500: '#021b07',
    950: '#000000',
  },
}
SCSS
$custom: #021b07;
$custom-light: #47574a;
$custom-dark: #000000;
JSON
{
  "hex": "#021b07",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 7
  },
  "hsl": {
    "h": 132,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19558,
    "c": 0.05118,
    "h": 148.4
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#021B07
secondary
#611852
accent
#2BD3FC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021B07

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

Preview Lab → · Contrast checker → · Palette generator →

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