#041F0C#041F0C

#041F0C is a very dark, muted green. Relative luminance 0.010; OKLCH L 21.2% C 0.050 H 150.6°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#041F0C
RGBrgb(4, 31, 12)
HSLhsl(138, 77%, 7%)
HSVhsv(138, 87%, 12%)
CMYKcmyk(87.1%, 0%, 61.3%, 87.8%)
CIE-LABlab(9.26, -15.06, 8.60)
CIE-LCHlch(9.26, 17.34, 150.29°)
OKLaboklab(21.23% -0.0435 0.0245)
OKLCHoklch(21.23% 0.05 150.6)
XYZxyz(0.6064, 1.0323, 0.5150)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F0C #1F0417
analogous
#0A1F04 #041F0C #041F1A
triadic
#041F0C #0C041F #1F0C04
tetradic
#041F0C #040A1F #1F0417 #1F1A04
square
#041F0C #040A1F #1F0417 #1F1A04
split-complementary
#041F0C #1A041F #1F040A
monochromatic
#031B0A #031B0A #041F0C #0B5521 #128B36

Accessibility & contrast

On white

17.41
#041F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#041F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041F0C
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F0C#FFFFFF#000000##FFFFFF
##041F0C1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B0B
Deuteranopia (green-blind)
#1C190D
Tritanopia (blue-blind)
#001E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041f0c;
/* rgb */ color: rgb(4, 31, 12);
/* oklch */ color: oklch(21.2% 0.050 150.6);
Tailwind
colors: {
  custom: {
    50: '#485a4c',
    500: '#041f0c',
    950: '#000000',
  },
}
SCSS
$custom: #041f0c;
$custom-light: #485a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#041f0c",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 12
  },
  "hsl": {
    "h": 137.778,
    "s": 77.143,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21227,
    "c": 0.0499,
    "h": 150.6
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#041F0C
secondary
#621D4D
accent
#34BBF4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #041F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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