#041F18#041F18

#041F18 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.6% C 0.036 H 173.0°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#041F18
RGBrgb(4, 31, 24)
HSLhsl(164, 77%, 7%)
HSVhsv(164, 87%, 12%)
CMYKcmyk(87.1%, 0%, 22.6%, 87.8%)
CIE-LABlab(9.57, -12.40, 1.75)
CIE-LCHlch(9.57, 12.52, 171.99°)
OKLaboklab(21.59% -0.0359 0.0044)
OKLCHoklch(21.59% 0.036 173)
XYZxyz(0.7048, 1.0717, 1.0337)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F18 #1F040B
analogous
#041F0B #041F18 #04191F
triadic
#041F18 #18041F #1F1804
tetradic
#041F18 #0B041F #1F040B #191F04
square
#041F18 #0B041F #1F040B #191F04
split-complementary
#041F18 #1F0419 #1F0B04
monochromatic
#031B15 #031B15 #041F18 #0B5542 #128B6C

Accessibility & contrast

On white

17.29
#041F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041F18
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F18#FFFFFF#000000##FFFFFF
##041F181.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C18
Deuteranopia (green-blind)
#1A1918
Tritanopia (blue-blind)
#001F1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #041f18;
/* rgb */ color: rgb(4, 31, 24);
/* oklch */ color: oklch(21.6% 0.036 173.0);
Tailwind
colors: {
  custom: {
    50: '#485a54',
    500: '#041f18',
    950: '#000000',
  },
}
SCSS
$custom: #041f18;
$custom-light: #485a54;
$custom-dark: #000000;
JSON
{
  "hex": "#041f18",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 164.444,
    "s": 77.143,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21592,
    "c": 0.03621,
    "h": 173
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#041F18
secondary
#621D2F
accent
#3466F4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #041F18

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

Preview Lab → · Contrast checker → · Palette generator →

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