#041402#041402

#041402 is a very dark, muted green. Relative luminance 0.005; OKLCH L 17.0% C 0.046 H 140.2°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#041402
RGBrgb(4, 20, 2)
HSLhsl(113, 82%, 4%)
HSVhsv(113, 90%, 8%)
CMYKcmyk(80%, 0%, 90%, 92.2%)
CIE-LABlab(4.79, -7.91, 6.21)
CIE-LCHlch(4.79, 10.05, 141.85°)
OKLaboklab(17.01% -0.0355 0.0296)
OKLCHoklch(17.01% 0.046 140.2)
XYZxyz(0.3112, 0.5305, 0.1434)
Luminance0.0053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041402 #120214
analogous
#0D1402 #041402 #021409
triadic
#041402 #020414 #140204
tetradic
#041402 #020D14 #120214 #140902
square
#041402 #020D14 #120214 #140902
split-complementary
#041402 #090214 #14020D
monochromatic
#061C03 #061C03 #061C03 #0F4C08 #1A830D

Accessibility & contrast

On white

18.98
#041402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#041402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041402
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041402#FFFFFF#000000##FFFFFF
##0414021.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151101
Deuteranopia (green-blind)
#131003
Tritanopia (blue-blind)
#031310
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #041402;
/* rgb */ color: rgb(4, 20, 2);
/* oklch */ color: oklch(17.0% 0.046 140.2);
Tailwind
colors: {
  custom: {
    50: '#485147',
    500: '#041402',
    950: '#000000',
  },
}
SCSS
$custom: #041402;
$custom-light: #485147;
$custom-dark: #000000;
JSON
{
  "hex": "#041402",
  "rgb": {
    "r": 4,
    "g": 20,
    "b": 2
  },
  "hsl": {
    "h": 113.333,
    "s": 81.818,
    "l": 4.314
  },
  "oklch": {
    "l": 0.17009,
    "c": 0.04627,
    "h": 140.2
  },
  "luminance": 0.00531
}

Semantic roles & 50–950 ramp

primary
#041402
secondary
#521859
accent
#30F8E2
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #041402

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

Preview Lab → · Contrast checker → · Palette generator →

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