#04341B#04341B

#04341B is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.7% C 0.067 H 154.8°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#04341B
RGBrgb(4, 52, 27)
HSLhsl(149, 86%, 11%)
HSVhsv(149, 92%, 20%)
CMYKcmyk(92.3%, 0%, 48.1%, 79.6%)
CIE-LABlab(18.19, -22.64, 11.51)
CIE-LCHlch(18.19, 25.40, 153.05°)
OKLaboklab(28.71% -0.0609 0.0286)
OKLCHoklch(28.71% 0.067 154.8)
XYZxyz(1.4757, 2.5607, 1.4532)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04341B #34041D
analogous
#053404 #04341B #043433
triadic
#04341B #1B0434 #341B04
tetradic
#04341B #040534 #34041D #343304
square
#04341B #040534 #34041D #343304
split-complementary
#04341B #330434 #340405
monochromatic
#021C0F #021C0F #04341B #086D39 #0DA656

Accessibility & contrast

On white

13.89
#04341B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04341B
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04341B#FFFFFF#000000##FFFFFF
##04341B1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04341b;
/* rgb */ color: rgb(4, 52, 27);
/* oklch */ color: oklch(28.7% 0.067 154.8);
Tailwind
colors: {
  custom: {
    50: '#4d6c57',
    500: '#04341b',
    950: '#000000',
  },
}
SCSS
$custom: #04341b;
$custom-light: #4d6c57;
$custom-dark: #000000;
JSON
{
  "hex": "#04341b",
  "rgb": {
    "r": 4,
    "g": 52,
    "b": 27
  },
  "hsl": {
    "h": 148.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28705,
    "c": 0.06733,
    "h": 154.8
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#04341B
secondary
#761E4C
accent
#2C98FC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04341B

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

Preview Lab → · Contrast checker → · Palette generator →

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