#002004#002004

#002004 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 21.2% C 0.065 H 145.7°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#002004
RGBrgb(0, 32, 4)
HSLhsl(128, 100%, 6%)
HSVhsv(128, 100%, 13%)
CMYKcmyk(100%, 0%, 87.5%, 87.5%)
CIE-LABlab(9.33, -18.18, 11.98)
CIE-LCHlch(9.33, 21.77, 146.61°)
OKLaboklab(21.18% -0.0539 0.0368)
OKLCHoklch(21.18% 0.065 145.7)
XYZxyz(0.5384, 1.0417, 0.2875)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#002004 #20001C
analogous
#0C2000 #002004 #002014
triadic
#002004 #040020 #200400
tetradic
#002004 #000C20 #20001C #201400
square
#002004 #000C20 #20001C #201400
split-complementary
#002004 #140020 #20000C
monochromatic
#001F04 #001F04 #002004 #005D0C #009A13

Accessibility & contrast

On white

17.38
#002004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#002004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #002004
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##002004#FFFFFF#000000##FFFFFF
##0020041.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C02
Deuteranopia (green-blind)
#1D1906
Tritanopia (blue-blind)
#001F1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #002004;
/* rgb */ color: rgb(0, 32, 4);
/* oklch */ color: oklch(21.2% 0.065 145.7);
Tailwind
colors: {
  custom: {
    50: '#455b48',
    500: '#002004',
    950: '#000000',
  },
}
SCSS
$custom: #002004;
$custom-light: #455b48;
$custom-dark: #000000;
JSON
{
  "hex": "#002004",
  "rgb": {
    "r": 0,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 127.5,
    "s": 100,
    "l": 6.275
  },
  "oklch": {
    "l": 0.21183,
    "c": 0.06533,
    "h": 145.7
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#002004
secondary
#69135E
accent
#29E4FF
background
#F3F5F4
surface
#E5E9E6
border
#C1C5C2
text
#000400
muted
#767977

Preview Lab

Preview with #002004

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

Preview Lab → · Contrast checker → · Palette generator →

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