#04320E#04320E

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

Color values

HEX#04320E
RGBrgb(4, 50, 14)
HSLhsl(133, 85%, 11%)
HSVhsv(133, 92%, 20%)
CMYKcmyk(92%, 0%, 72%, 80.4%)
CIE-LABlab(17.17, -24.34, 18.17)
CIE-LCHlch(17.17, 30.38, 143.27°)
OKLaboklab(27.79% -0.0655 0.0431)
OKLCHoklch(27.79% 0.078 146.6)
XYZxyz(1.2698, 2.3386, 0.7998)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04320E #320428
analogous
#113204 #04320E #043225
triadic
#04320E #0E0432 #320E04
tetradic
#04320E #041132 #320428 #322504
square
#04320E #041132 #320428 #322504
split-complementary
#04320E #250432 #320411
monochromatic
#021C08 #021C08 #04320E #096B1E #0DA32E

Accessibility & contrast

On white

14.31
#04320E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04320E
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04320E#FFFFFF#000000##FFFFFF
##04320E1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04320e;
/* rgb */ color: rgb(4, 50, 14);
/* oklch */ color: oklch(27.8% 0.078 146.6);
Tailwind
colors: {
  custom: {
    50: '#4d6a4e',
    500: '#04320e',
    950: '#000000',
  },
}
SCSS
$custom: #04320e;
$custom-light: #4d6a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#04320e",
  "rgb": {
    "r": 4,
    "g": 50,
    "b": 14
  },
  "hsl": {
    "h": 133.043,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2779,
    "c": 0.07841,
    "h": 146.6
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#04320E
secondary
#741D61
accent
#2CCEFB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #04320E

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

Preview Lab → · Contrast checker → · Palette generator →

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