#021B04#021B04

#021B04 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.5% C 0.056 H 145.0°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#021B04
RGBrgb(2, 27, 4)
HSLhsl(125, 86%, 6%)
HSVhsv(125, 93%, 11%)
CMYKcmyk(92.6%, 0%, 85.2%, 89.4%)
CIE-LABlab(7.28, -13.38, 9.01)
CIE-LCHlch(7.28, 16.13, 146.05°)
OKLaboklab(19.49% -0.0458 0.0321)
OKLCHoklch(19.49% 0.056 145)
XYZxyz(0.4389, 0.8055, 0.2472)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B04 #1B0219
analogous
#0C1B02 #021B04 #021B10
triadic
#021B04 #04021B #1B0402
tetradic
#021B04 #020C1B #1B0219 #1B1002
square
#021B04 #020C1B #1B0219 #1B1002
split-complementary
#021B04 #10021B #1B020C
monochromatic
#021C04 #021C04 #021C04 #06540C #0A8D15

Accessibility & contrast

On white

18.08
#021B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021B04
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B04#FFFFFF#000000##FFFFFF
##021B041.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021b04;
/* rgb */ color: rgb(2, 27, 4);
/* oklch */ color: oklch(19.5% 0.056 145.0);
Tailwind
colors: {
  custom: {
    50: '#475748',
    500: '#021b04',
    950: '#000000',
  },
}
SCSS
$custom: #021b04;
$custom-light: #475748;
$custom-dark: #000000;
JSON
{
  "hex": "#021b04",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 4
  },
  "hsl": {
    "h": 124.8,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19485,
    "c": 0.05594,
    "h": 145
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#021B04
secondary
#61185B
accent
#2BECFC
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021B04

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

Preview Lab → · Contrast checker → · Palette generator →

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