#041A07#041A07

#041A07 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.3% C 0.048 H 146.8°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#041A07
RGBrgb(4, 26, 7)
HSLhsl(128, 73%, 6%)
HSVhsv(128, 85%, 10%)
CMYKcmyk(84.6%, 0%, 73.1%, 89.8%)
CIE-LABlab(7.04, -11.61, 7.46)
CIE-LCHlch(7.04, 13.80, 147.27°)
OKLaboklab(19.34% -0.0397 0.026)
OKLCHoklch(19.34% 0.048 146.8)
XYZxyz(0.4578, 0.7799, 0.3274)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041A07 #1A0417
analogous
#0C1A04 #041A07 #041A12
triadic
#041A07 #07041A #1A0704
tetradic
#041A07 #040C1A #1A0417 #1A1204
square
#041A07 #040C1A #1A0417 #1A1204
split-complementary
#041A07 #12041A #1A040C
monochromatic
#041B07 #041B07 #041B07 #0C4F15 #148424

Accessibility & contrast

On white

18.17
#041A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#041A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041A07
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041A07#FFFFFF#000000##FFFFFF
##041A071.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1706
Deuteranopia (green-blind)
#181508
Tritanopia (blue-blind)
#011916
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #041a07;
/* rgb */ color: rgb(4, 26, 7);
/* oklch */ color: oklch(19.3% 0.048 146.8);
Tailwind
colors: {
  custom: {
    50: '#48564a',
    500: '#041a07',
    950: '#000000',
  },
}
SCSS
$custom: #041a07;
$custom-light: #48564a;
$custom-dark: #000000;
JSON
{
  "hex": "#041a07",
  "rgb": {
    "r": 4,
    "g": 26,
    "b": 7
  },
  "hsl": {
    "h": 128.182,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19336,
    "c": 0.04751,
    "h": 146.8
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#041A07
secondary
#5C1E54
accent
#38D7F0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #041A07

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

Preview Lab → · Contrast checker → · Palette generator →

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