#021F03#021F03

#021F03 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 20.9% C 0.064 H 143.6°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#021F03
RGBrgb(2, 31, 3)
HSLhsl(122, 88%, 6%)
HSVhsv(122, 94%, 12%)
CMYKcmyk(93.5%, 0%, 90.3%, 87.8%)
CIE-LABlab(8.99, -16.97, 11.90)
CIE-LCHlch(8.99, 20.73, 144.95°)
OKLaboklab(20.92% -0.0513 0.0378)
OKLCHoklch(20.92% 0.064 143.6)
XYZxyz(0.5314, 0.9994, 0.2510)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F03 #1F021E
analogous
#101F02 #021F03 #021F12
triadic
#021F03 #03021F #1F0302
tetradic
#021F03 #02101F #1F021E #1F1202
square
#021F03 #02101F #1F021E #1F1202
split-complementary
#021F03 #12021F #1F0210
monochromatic
#021D03 #021D03 #021F03 #065809 #09920E

Accessibility & contrast

On white

17.50
#021F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F03
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F03#FFFFFF#000000##FFFFFF
##021F031.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B01
Deuteranopia (green-blind)
#1C1905
Tritanopia (blue-blind)
#001E19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021f03;
/* rgb */ color: rgb(2, 31, 3);
/* oklch */ color: oklch(20.9% 0.064 143.6);
Tailwind
colors: {
  custom: {
    50: '#465a48',
    500: '#021f03',
    950: '#000000',
  },
}
SCSS
$custom: #021f03;
$custom-light: #465a48;
$custom-dark: #000000;
JSON
{
  "hex": "#021f03",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 3
  },
  "hsl": {
    "h": 122.069,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.20918,
    "c": 0.06374,
    "h": 143.6
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#021F03
secondary
#651862
accent
#2AF7FE
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #021F03

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

Preview Lab → · Contrast checker → · Palette generator →

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