#04341A#04341A

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

Color values

HEX#04341A
RGBrgb(4, 52, 26)
HSLhsl(148, 86%, 11%)
HSVhsv(148, 92%, 20%)
CMYKcmyk(92.3%, 0%, 50%, 79.6%)
CIE-LABlab(18.17, -22.87, 12.14)
CIE-LCHlch(18.17, 25.89, 152.05°)
OKLaboklab(28.68% -0.0615 0.0301)
OKLCHoklch(28.68% 0.068 153.9)
XYZxyz(1.4644, 2.5562, 1.3933)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04341A #34041E
analogous
#063404 #04341A #043432
triadic
#04341A #1A0434 #341A04
tetradic
#04341A #040634 #34041E #343204
square
#04341A #040634 #34041E #343204
split-complementary
#04341A #320434 #340406
monochromatic
#021C0E #021C0E #04341A #086D36 #0DA653

Accessibility & contrast

On white

13.90
#04341A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04341A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04341A#FFFFFF#000000##FFFFFF
##04341A1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04341a;
/* rgb */ color: rgb(4, 52, 26);
/* oklch */ color: oklch(28.7% 0.068 153.9);
Tailwind
colors: {
  custom: {
    50: '#4d6c56',
    500: '#04341a',
    950: '#000000',
  },
}
SCSS
$custom: #04341a;
$custom-light: #4d6c56;
$custom-dark: #000000;
JSON
{
  "hex": "#04341a",
  "rgb": {
    "r": 4,
    "g": 52,
    "b": 26
  },
  "hsl": {
    "h": 147.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28682,
    "c": 0.06847,
    "h": 153.9
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#04341A
secondary
#761E4E
accent
#2C9DFC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04341A

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

Preview Lab → · Contrast checker → · Palette generator →

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