#04320A#04320A

#04320A is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.7% C 0.082 H 144.9°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#04320A
RGBrgb(4, 50, 10)
HSLhsl(128, 85%, 11%)
HSVhsv(128, 92%, 20%)
CMYKcmyk(92%, 0%, 80%, 80.4%)
CIE-LABlab(17.13, -24.91, 19.93)
CIE-LCHlch(17.13, 31.90, 141.34°)
OKLaboklab(27.74% -0.0672 0.0472)
OKLCHoklch(27.74% 0.082 144.9)
XYZxyz(1.2454, 2.3288, 0.6710)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04320A #32042C
analogous
#153204 #04320A #043221
triadic
#04320A #0A0432 #320A04
tetradic
#04320A #041532 #32042C #322104
square
#04320A #041532 #32042C #322104
split-complementary
#04320A #210432 #320415
monochromatic
#021C06 #021C06 #04320A #096B15 #0DA321

Accessibility & contrast

On white

14.33
#04320A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#04320A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04320A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04320A#FFFFFF#000000##FFFFFF
##04320A1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C05
Deuteranopia (green-blind)
#2E290E
Tritanopia (blue-blind)
#00302A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #04320a;
/* rgb */ color: rgb(4, 50, 10);
/* oklch */ color: oklch(27.7% 0.082 144.9);
Tailwind
colors: {
  custom: {
    50: '#4d6a4c',
    500: '#04320a',
    950: '#000000',
  },
}
SCSS
$custom: #04320a;
$custom-light: #4d6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#04320a",
  "rgb": {
    "r": 4,
    "g": 50,
    "b": 10
  },
  "hsl": {
    "h": 127.826,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27737,
    "c": 0.08211,
    "h": 144.9
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#04320A
secondary
#741D69
accent
#2CE0FB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #04320A

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

Preview Lab → · Contrast checker → · Palette generator →

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