#04340D#04340D

#04340D is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.4% C 0.082 H 145.9°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#04340D
RGBrgb(4, 52, 13)
HSLhsl(131, 86%, 11%)
HSVhsv(131, 92%, 20%)
CMYKcmyk(92.3%, 0%, 75%, 79.6%)
CIE-LABlab(17.97, -25.30, 19.62)
CIE-LCHlch(17.97, 32.02, 142.21°)
OKLaboklab(28.45% -0.0681 0.0462)
OKLCHoklch(28.45% 0.082 145.9)
XYZxyz(1.3506, 2.5107, 0.7941)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04340D #34042B
analogous
#133404 #04340D #043425
triadic
#04340D #0D0434 #340D04
tetradic
#04340D #041334 #34042B #342504
square
#04340D #041334 #34042B #342504
split-complementary
#04340D #250434 #340413
monochromatic
#021C07 #021C07 #04340D #086D1B #0DA629

Accessibility & contrast

On white

13.98
#04340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#04340D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04340D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04340D#FFFFFF#000000##FFFFFF
##04340D1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E08
Deuteranopia (green-blind)
#302A10
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #04340d;
/* rgb */ color: rgb(4, 52, 13);
/* oklch */ color: oklch(28.4% 0.082 145.9);
Tailwind
colors: {
  custom: {
    50: '#4e6c4d',
    500: '#04340d',
    950: '#000000',
  },
}
SCSS
$custom: #04340d;
$custom-light: #4e6c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#04340d",
  "rgb": {
    "r": 4,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 131.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28446,
    "c": 0.08229,
    "h": 145.9
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#04340D
secondary
#761E66
accent
#2CD5FC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #04340D

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

Preview Lab → · Contrast checker → · Palette generator →

#04340D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva