#04321A#04321A

#04321A is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.0% C 0.065 H 155.0°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#04321A
RGBrgb(4, 50, 26)
HSLhsl(149, 85%, 11%)
HSVhsv(149, 92%, 20%)
CMYKcmyk(92%, 0%, 48%, 80.4%)
CIE-LABlab(17.37, -21.96, 11.09)
CIE-LCHlch(17.37, 24.60, 153.21°)
OKLaboklab(28.02% -0.0591 0.0276)
OKLCHoklch(28.02% 0.065 155)
XYZxyz(1.3770, 2.3814, 1.3642)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04321A #32041C
analogous
#053204 #04321A #043231
triadic
#04321A #1A0432 #321A04
tetradic
#04321A #040532 #32041C #323104
square
#04321A #040532 #32041C #323104
split-complementary
#04321A #310432 #320405
monochromatic
#021C0F #021C0F #04321A #096B37 #0DA355

Accessibility & contrast

On white

14.22
#04321A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#04321A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04321A
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04321A#FFFFFF#000000##FFFFFF
##04321A1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D18
Deuteranopia (green-blind)
#2C291C
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #04321a;
/* rgb */ color: rgb(4, 50, 26);
/* oklch */ color: oklch(28.0% 0.065 155.0);
Tailwind
colors: {
  custom: {
    50: '#4d6a56',
    500: '#04321a',
    950: '#000000',
  },
}
SCSS
$custom: #04321a;
$custom-light: #4d6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#04321a",
  "rgb": {
    "r": 4,
    "g": 50,
    "b": 26
  },
  "hsl": {
    "h": 148.696,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28023,
    "c": 0.06527,
    "h": 155
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#04321A
secondary
#741D4B
accent
#2C98FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #04321A

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

Preview Lab → · Contrast checker → · Palette generator →

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