#04341F#04341F

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

Color values

HEX#04341F
RGBrgb(4, 52, 31)
HSLhsl(154, 86%, 11%)
HSVhsv(154, 92%, 20%)
CMYKcmyk(92.3%, 0%, 40.4%, 79.6%)
CIE-LABlab(18.28, -21.64, 8.98)
CIE-LCHlch(18.28, 23.43, 157.46°)
OKLaboklab(28.81% -0.0586 0.0226)
OKLCHoklch(28.81% 0.063 158.9)
XYZxyz(1.5252, 2.5805, 1.7138)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04341F #340419
analogous
#043407 #04341F #043134
triadic
#04341F #1F0434 #341F04
tetradic
#04341F #070434 #340419 #313404
square
#04341F #070434 #340419 #313404
split-complementary
#04341F #340431 #340704
monochromatic
#021C11 #021C11 #04341F #086D41 #0DA663

Accessibility & contrast

On white

13.85
#04341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04341F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04341F#FFFFFF#000000##FFFFFF
##04341F1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#2E2B20
Tritanopia (blue-blind)
#00342F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #04341f;
/* rgb */ color: rgb(4, 52, 31);
/* oklch */ color: oklch(28.8% 0.063 158.9);
Tailwind
colors: {
  custom: {
    50: '#4d6c5a',
    500: '#04341f',
    950: '#000000',
  },
}
SCSS
$custom: #04341f;
$custom-light: #4d6c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#04341f",
  "rgb": {
    "r": 4,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 153.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28807,
    "c": 0.06283,
    "h": 158.9
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#04341F
secondary
#761E44
accent
#2C87FC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020704
muted
#787A79

Preview Lab

Preview with #04341F

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

Preview Lab → · Contrast checker → · Palette generator →

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