#04341E#04341E

#04341E is a dark, moderate teal. Relative luminance 0.026; OKLCH L 28.8% C 0.064 H 157.8°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#04341E
RGBrgb(4, 52, 30)
HSLhsl(153, 86%, 11%)
HSVhsv(153, 92%, 20%)
CMYKcmyk(92.3%, 0%, 42.3%, 79.6%)
CIE-LABlab(18.26, -21.90, 9.62)
CIE-LCHlch(18.26, 23.92, 156.29°)
OKLaboklab(28.78% -0.0592 0.0242)
OKLCHoklch(28.78% 0.064 157.8)
XYZxyz(1.5122, 2.5753, 1.6454)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04341E #34041A
analogous
#043406 #04341E #043234
triadic
#04341E #1E0434 #341E04
tetradic
#04341E #060434 #34041A #323404
square
#04341E #060434 #34041A #323404
split-complementary
#04341E #340432 #340604
monochromatic
#021C10 #021C10 #04341E #086D3F #0DA660

Accessibility & contrast

On white

13.86
#04341E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#04341E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04341E
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04341E#FFFFFF#000000##FFFFFF
##04341E1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1D
Deuteranopia (green-blind)
#2E2B1F
Tritanopia (blue-blind)
#00342E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #04341e;
/* rgb */ color: rgb(4, 52, 30);
/* oklch */ color: oklch(28.8% 0.064 157.8);
Tailwind
colors: {
  custom: {
    50: '#4d6c59',
    500: '#04341e',
    950: '#000000',
  },
}
SCSS
$custom: #04341e;
$custom-light: #4d6c59;
$custom-dark: #000000;
JSON
{
  "hex": "#04341e",
  "rgb": {
    "r": 4,
    "g": 52,
    "b": 30
  },
  "hsl": {
    "h": 152.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2878,
    "c": 0.06393,
    "h": 157.8
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#04341E
secondary
#761E46
accent
#2C8BFC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04341E

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

Preview Lab → · Contrast checker → · Palette generator →

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