#04341C#04341C

#04341C is a dark, moderate teal. Relative luminance 0.026; OKLCH L 28.7% C 0.066 H 155.8°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#04341C
RGBrgb(4, 52, 28)
HSLhsl(150, 86%, 11%)
HSVhsv(150, 92%, 20%)
CMYKcmyk(92.3%, 0%, 46.2%, 79.6%)
CIE-LABlab(18.21, -22.40, 10.88)
CIE-LCHlch(18.21, 24.90, 154.09°)
OKLaboklab(28.73% -0.0604 0.0272)
OKLCHoklch(28.73% 0.066 155.8)
XYZxyz(1.4875, 2.5655, 1.5152)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04341C #34041C
analogous
#043404 #04341C #043434
triadic
#04341C #1C0434 #341C04
tetradic
#04341C #040434 #34041C #343404
square
#04341C #040434 #34041C #343404
split-complementary
#04341C #340434 #340404
monochromatic
#021C0F #021C0F #04341C #086D3B #0DA659

Accessibility & contrast

On white

13.88
#04341C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#04341C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04341C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04341C#FFFFFF#000000##FFFFFF
##04341C1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1A
Deuteranopia (green-blind)
#2E2B1E
Tritanopia (blue-blind)
#00332E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #04341c;
/* rgb */ color: rgb(4, 52, 28);
/* oklch */ color: oklch(28.7% 0.066 155.8);
Tailwind
colors: {
  custom: {
    50: '#4d6c58',
    500: '#04341c',
    950: '#000000',
  },
}
SCSS
$custom: #04341c;
$custom-light: #4d6c58;
$custom-dark: #000000;
JSON
{
  "hex": "#04341c",
  "rgb": {
    "r": 4,
    "g": 52,
    "b": 28
  },
  "hsl": {
    "h": 150,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28729,
    "c": 0.06619,
    "h": 155.8
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#04341C
secondary
#761E4A
accent
#2C94FC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04341C

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

Preview Lab → · Contrast checker → · Palette generator →

#04341C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva