#04320C#04320C

#04320C is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.8% C 0.080 H 145.7°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#04320C
RGBrgb(4, 50, 12)
HSLhsl(130, 85%, 11%)
HSVhsv(130, 92%, 20%)
CMYKcmyk(92%, 0%, 76%, 80.4%)
CIE-LABlab(17.15, -24.64, 19.10)
CIE-LCHlch(17.15, 31.17, 142.22°)
OKLaboklab(27.76% -0.0664 0.0453)
OKLCHoklch(27.76% 0.08 145.7)
XYZxyz(1.2569, 2.3334, 0.7319)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04320C #32042A
analogous
#133204 #04320C #043223
triadic
#04320C #0C0432 #320C04
tetradic
#04320C #041332 #32042A #322304
square
#04320C #041332 #32042A #322304
split-complementary
#04320C #230432 #320413
monochromatic
#021C07 #021C07 #04320C #096B1A #0DA327

Accessibility & contrast

On white

14.32
#04320C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04320C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04320C#FFFFFF#000000##FFFFFF
##04320C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C08
Deuteranopia (green-blind)
#2E290F
Tritanopia (blue-blind)
#00312A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #04320c;
/* rgb */ color: rgb(4, 50, 12);
/* oklch */ color: oklch(27.8% 0.080 145.7);
Tailwind
colors: {
  custom: {
    50: '#4d6a4d',
    500: '#04320c',
    950: '#000000',
  },
}
SCSS
$custom: #04320c;
$custom-light: #4d6a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#04320c",
  "rgb": {
    "r": 4,
    "g": 50,
    "b": 12
  },
  "hsl": {
    "h": 130.435,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27762,
    "c": 0.08033,
    "h": 145.7
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#04320C
secondary
#741D65
accent
#2CD7FB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #04320C

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

Preview Lab → · Contrast checker → · Palette generator →

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