#041C07#041C07

#041C07 is a very dark, muted green. Relative luminance 0.009; OKLCH L 20.1% C 0.051 H 146.3°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#041C07
RGBrgb(4, 28, 7)
HSLhsl(128, 75%, 6%)
HSVhsv(128, 86%, 11%)
CMYKcmyk(85.7%, 0%, 75%, 89%)
CIE-LABlab(7.87, -13.31, 8.67)
CIE-LCHlch(7.87, 15.88, 146.91°)
OKLaboklab(20.05% -0.0425 0.0284)
OKLCHoklch(20.05% 0.051 146.3)
XYZxyz(0.5036, 0.8716, 0.3427)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041C07 #1C0419
analogous
#0D1C04 #041C07 #041C13
triadic
#041C07 #07041C #1C0704
tetradic
#041C07 #040D1C #1C0419 #1C1304
square
#041C07 #040D1C #1C0419 #1C1304
split-complementary
#041C07 #13041C #1C040D
monochromatic
#041B07 #041B07 #041C07 #0C5214 #138722

Accessibility & contrast

On white

17.88
#041C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#041C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041C07
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041C07#FFFFFF#000000##FFFFFF
##041C071.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1906
Deuteranopia (green-blind)
#191608
Tritanopia (blue-blind)
#011B17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #041c07;
/* rgb */ color: rgb(4, 28, 7);
/* oklch */ color: oklch(20.1% 0.051 146.3);
Tailwind
colors: {
  custom: {
    50: '#48584a',
    500: '#041c07',
    950: '#000000',
  },
}
SCSS
$custom: #041c07;
$custom-light: #48584a;
$custom-dark: #000000;
JSON
{
  "hex": "#041c07",
  "rgb": {
    "r": 4,
    "g": 28,
    "b": 7
  },
  "hsl": {
    "h": 127.5,
    "s": 75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20052,
    "c": 0.05107,
    "h": 146.3
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#041C07
secondary
#5E1D56
accent
#36DAF2
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #041C07

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

Preview Lab → · Contrast checker → · Palette generator →

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