#041E02#041E02

#041E02 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 20.7% C 0.062 H 141.3°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#041E02
RGBrgb(4, 30, 2)
HSLhsl(116, 88%, 6%)
HSVhsv(116, 93%, 12%)
CMYKcmyk(86.7%, 0%, 93.3%, 88.2%)
CIE-LABlab(8.64, -15.73, 11.83)
CIE-LCHlch(8.64, 19.68, 143.06°)
OKLaboklab(20.66% -0.0487 0.0389)
OKLCHoklch(20.66% 0.062 141.3)
XYZxyz(0.5253, 0.9587, 0.2148)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041E02 #1C021E
analogous
#121E02 #041E02 #021E0E
triadic
#041E02 #02041E #1E0204
tetradic
#041E02 #02121E #1C021E #1E0E02
square
#041E02 #02121E #1C021E #1E0E02
split-complementary
#041E02 #0E021E #1E0212
monochromatic
#041D02 #041D02 #041E02 #0C5706 #13910A

Accessibility & contrast

On white

17.62
#041E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#041E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041E02
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041E02#FFFFFF#000000##FFFFFF
##041E021.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A00
Deuteranopia (green-blind)
#1C1804
Tritanopia (blue-blind)
#011D18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #041e02;
/* rgb */ color: rgb(4, 30, 2);
/* oklch */ color: oklch(20.7% 0.062 141.3);
Tailwind
colors: {
  custom: {
    50: '#475947',
    500: '#041e02',
    950: '#000000',
  },
}
SCSS
$custom: #041e02;
$custom-light: #475947;
$custom-dark: #000000;
JSON
{
  "hex": "#041e02",
  "rgb": {
    "r": 4,
    "g": 30,
    "b": 2
  },
  "hsl": {
    "h": 115.714,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20658,
    "c": 0.06232,
    "h": 141.3
  },
  "luminance": 0.00959
}

Semantic roles & 50–950 ramp

primary
#041E02
secondary
#5E1864
accent
#2AFEEF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #041E02

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

Preview Lab → · Contrast checker → · Palette generator →

#041E02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva