#041F12#041F12

#041F12 is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.4% C 0.042 H 159.4°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#041F12
RGBrgb(4, 31, 18)
HSLhsl(151, 77%, 7%)
HSVhsv(151, 87%, 12%)
CMYKcmyk(87.1%, 0%, 41.9%, 87.8%)
CIE-LABlab(9.40, -13.91, 5.61)
CIE-LCHlch(9.40, 15.00, 158.04°)
OKLaboklab(21.39% -0.0398 0.0149)
OKLCHoklch(21.39% 0.042 159.4)
XYZxyz(0.6492, 1.0494, 0.7405)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F12 #1F0411
analogous
#041F05 #041F12 #041F1F
triadic
#041F12 #12041F #1F1204
tetradic
#041F12 #05041F #1F0411 #1F1F04
square
#041F12 #05041F #1F0411 #1F1F04
split-complementary
#041F12 #1F041F #1F0504
monochromatic
#031B10 #031B10 #041F12 #0B5531 #128B51

Accessibility & contrast

On white

17.36
#041F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041F12
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F12#FFFFFF#000000##FFFFFF
##041F121.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1C11
Deuteranopia (green-blind)
#1B1913
Tritanopia (blue-blind)
#001F1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041f12;
/* rgb */ color: rgb(4, 31, 18);
/* oklch */ color: oklch(21.4% 0.042 159.4);
Tailwind
colors: {
  custom: {
    50: '#485a4f',
    500: '#041f12',
    950: '#000000',
  },
}
SCSS
$custom: #041f12;
$custom-light: #485a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#041f12",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 151.111,
    "s": 77.143,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21387,
    "c": 0.04248,
    "h": 159.4
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#041F12
secondary
#621D3E
accent
#3490F4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #041F12

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

Preview Lab → · Contrast checker → · Palette generator →

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