#041F01#041F01

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

Color values

HEX#041F01
RGBrgb(4, 31, 1)
HSLhsl(114, 94%, 6%)
HSVhsv(114, 97%, 12%)
CMYKcmyk(87.1%, 0%, 96.8%, 87.8%)
CIE-LABlab(9.06, -16.69, 12.83)
CIE-LCHlch(9.06, 21.06, 142.45°)
OKLaboklab(21% -0.0506 0.0416)
OKLCHoklch(21% 0.066 140.6)
XYZxyz(0.5455, 1.0079, 0.1945)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F01 #1C011F
analogous
#131F01 #041F01 #011F0D
triadic
#041F01 #01041F #1F0104
tetradic
#041F01 #01131F #1C011F #1F0D01
square
#041F01 #01131F #1C011F #1F0D01
split-complementary
#041F01 #0D011F #1F0113
monochromatic
#041E01 #041E01 #041F01 #0C5A03 #139605

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##041F01#FFFFFF#000000##FFFFFF
##041F011.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)
#1D1903
Tritanopia (blue-blind)
#011E19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041f01;
/* rgb */ color: rgb(4, 31, 1);
/* oklch */ color: oklch(21.0% 0.066 140.6);
Tailwind
colors: {
  custom: {
    50: '#475a47',
    500: '#041f01',
    950: '#000000',
  },
}
SCSS
$custom: #041f01;
$custom-light: #475a47;
$custom-dark: #000000;
JSON
{
  "hex": "#041f01",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 1
  },
  "hsl": {
    "h": 114,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20997,
    "c": 0.06551,
    "h": 140.6
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#041F01
secondary
#5E1567
accent
#29FFEA
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000400
muted
#777977

Preview Lab

Preview with #041F01

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

Preview Lab → · Contrast checker → · Palette generator →

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