#041202#041202

#041202 is a very dark, muted green. Relative luminance 0.005; OKLCH L 16.3% C 0.043 H 139.7°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#041202
RGBrgb(4, 18, 2)
HSLhsl(113, 80%, 4%)
HSVhsv(113, 89%, 7%)
CMYKcmyk(77.8%, 0%, 88.9%, 92.9%)
CIE-LABlab(4.18, -6.66, 5.32)
CIE-LCHlch(4.18, 8.52, 141.39°)
OKLaboklab(16.27% -0.0326 0.0276)
OKLCHoklch(16.27% 0.043 139.7)
XYZxyz(0.2773, 0.4628, 0.1321)
Luminance0.0046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041202 #100212
analogous
#0C1202 #041202 #021208
triadic
#041202 #020412 #120204
tetradic
#041202 #020C12 #100212 #120802
square
#041202 #020C12 #100212 #120802
split-complementary
#041202 #080212 #12020C
monochromatic
#061C03 #061C03 #061C03 #104908 #1C800E

Accessibility & contrast

On white

19.22
#041202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#041202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041202
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041202#FFFFFF#000000##FFFFFF
##0412021.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#130F01
Deuteranopia (green-blind)
#110E03
Tritanopia (blue-blind)
#03110E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #041202;
/* rgb */ color: rgb(4, 18, 2);
/* oklch */ color: oklch(16.3% 0.043 139.7);
Tailwind
colors: {
  custom: {
    50: '#484f47',
    500: '#041202',
    950: '#000000',
  },
}
SCSS
$custom: #041202;
$custom-light: #484f47;
$custom-dark: #000000;
JSON
{
  "hex": "#041202",
  "rgb": {
    "r": 4,
    "g": 18,
    "b": 2
  },
  "hsl": {
    "h": 112.5,
    "s": 80,
    "l": 3.922
  },
  "oklch": {
    "l": 0.16268,
    "c": 0.04272,
    "h": 139.7
  },
  "luminance": 0.00463
}

Semantic roles & 50–950 ramp

primary
#041202
secondary
#4F1957
accent
#31F6DE
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #041202

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

Preview Lab → · Contrast checker → · Palette generator →

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