#041F04#041F04

#041F04 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 21.1% C 0.061 H 143.0°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#041F04
RGBrgb(4, 31, 4)
HSLhsl(120, 77%, 7%)
HSVhsv(120, 87%, 12%)
CMYKcmyk(87.1%, 0%, 87.1%, 87.8%)
CIE-LABlab(9.11, -16.26, 11.69)
CIE-LCHlch(9.11, 20.02, 144.28°)
OKLaboklab(21.06% -0.0484 0.0364)
OKLCHoklch(21.06% 0.061 143)
XYZxyz(0.5619, 1.0145, 0.2810)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F04 #1F041F
analogous
#121F04 #041F04 #041F12
triadic
#041F04 #04041F #1F0404
tetradic
#041F04 #04121F #1F041F #1F1204
square
#041F04 #04121F #1F041F #1F1204
split-complementary
#041F04 #12041F #1F0412
monochromatic
#031B03 #031B03 #041F04 #0B550B #128B12

Accessibility & contrast

On white

17.46
#041F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041F04
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F04#FFFFFF#000000##FFFFFF
##041F041.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B02
Deuteranopia (green-blind)
#1D1906
Tritanopia (blue-blind)
#011E19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041f04;
/* rgb */ color: rgb(4, 31, 4);
/* oklch */ color: oklch(21.1% 0.061 143.0);
Tailwind
colors: {
  custom: {
    50: '#475a48',
    500: '#041f04',
    950: '#000000',
  },
}
SCSS
$custom: #041f04;
$custom-light: #475a48;
$custom-dark: #000000;
JSON
{
  "hex": "#041f04",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 4
  },
  "hsl": {
    "h": 120,
    "s": 77.143,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21059,
    "c": 0.06058,
    "h": 143
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#041F04
secondary
#621D62
accent
#34F4F4
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #041F04

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

Preview Lab → · Contrast checker → · Palette generator →

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