#041F07#041F07

#041F07 is a very dark, muted green. Relative luminance 0.010; OKLCH L 21.1% C 0.056 H 145.7°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#041F07
RGBrgb(4, 31, 7)
HSLhsl(127, 77%, 7%)
HSVhsv(127, 87%, 12%)
CMYKcmyk(87.1%, 0%, 77.4%, 87.8%)
CIE-LABlab(9.17, -15.81, 10.55)
CIE-LCHlch(9.17, 19.01, 146.30°)
OKLaboklab(21.12% -0.0464 0.0317)
OKLCHoklch(21.12% 0.056 145.7)
XYZxyz(0.5784, 1.0211, 0.3676)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F07 #1F041C
analogous
#0F1F04 #041F07 #041F15
triadic
#041F07 #07041F #1F0704
tetradic
#041F07 #040F1F #1F041C #1F1504
square
#041F07 #040F1F #1F041C #1F1504
split-complementary
#041F07 #15041F #1F040F
monochromatic
#031B06 #031B06 #041F07 #0B5513 #128B1F

Accessibility & contrast

On white

17.44
#041F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#041F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041F07
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F07#FFFFFF#000000##FFFFFF
##041F071.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B05
Deuteranopia (green-blind)
#1C1909
Tritanopia (blue-blind)
#001E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041f07;
/* rgb */ color: rgb(4, 31, 7);
/* oklch */ color: oklch(21.1% 0.056 145.7);
Tailwind
colors: {
  custom: {
    50: '#475a4a',
    500: '#041f07',
    950: '#000000',
  },
}
SCSS
$custom: #041f07;
$custom-light: #475a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#041f07",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 7
  },
  "hsl": {
    "h": 126.667,
    "s": 77.143,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21121,
    "c": 0.05623,
    "h": 145.7
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#041F07
secondary
#621D5A
accent
#34DEF4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #041F07

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

Preview Lab → · Contrast checker → · Palette generator →

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