#041F00#041F00

#041F00 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 21.0% C 0.067 H 139.8°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#041F00
RGBrgb(4, 31, 0)
HSLhsl(112, 100%, 6%)
HSVhsv(112, 100%, 12%)
CMYKcmyk(87.1%, 0%, 100%, 87.8%)
CIE-LABlab(9.04, -16.84, 13.21)
CIE-LCHlch(9.04, 21.41, 141.88°)
OKLaboklab(20.98% -0.0514 0.0434)
OKLCHoklch(20.98% 0.067 139.8)
XYZxyz(0.5400, 1.0057, 0.1657)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F00 #1B001F
analogous
#131F00 #041F00 #001F0B
triadic
#041F00 #00041F #1F0004
tetradic
#041F00 #00131F #1B001F #1F0B00
square
#041F00 #00131F #1B001F #1F0B00
split-complementary
#041F00 #0B001F #1F0013
monochromatic
#041F00 #041F00 #041F00 #0C5C00 #149900

Accessibility & contrast

On white

17.48
#041F00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041F00
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F00#FFFFFF#000000##FFFFFF
##041F001.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B00
Deuteranopia (green-blind)
#1D1902
Tritanopia (blue-blind)
#021E19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041f00;
/* rgb */ color: rgb(4, 31, 0);
/* oklch */ color: oklch(21.0% 0.067 139.8);
Tailwind
colors: {
  custom: {
    50: '#475a46',
    500: '#041f00',
    950: '#000000',
  },
}
SCSS
$custom: #041f00;
$custom-light: #475a46;
$custom-dark: #000000;
JSON
{
  "hex": "#041f00",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 0
  },
  "hsl": {
    "h": 112.258,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.20976,
    "c": 0.0673,
    "h": 139.8
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#041F00
secondary
#5D1268
accent
#29FFE3
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000400
muted
#777977

Preview Lab

Preview with #041F00

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

Preview Lab → · Contrast checker → · Palette generator →

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