#04330D#04330D

#04330D is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.1% C 0.081 H 146.0°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#04330D
RGBrgb(4, 51, 13)
HSLhsl(131, 85%, 11%)
HSVhsv(131, 92%, 20%)
CMYKcmyk(92.2%, 0%, 74.5%, 80%)
CIE-LABlab(17.56, -24.90, 19.13)
CIE-LCHlch(17.56, 31.40, 142.46°)
OKLaboklab(28.11% -0.067 0.0452)
OKLCHoklch(28.11% 0.081 146)
XYZxyz(1.3064, 2.4224, 0.7794)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04330D #33042A
analogous
#123304 #04330D #043324
triadic
#04330D #0D0433 #330D04
tetradic
#04330D #041233 #33042A #332404
square
#04330D #041233 #33042A #332404
split-complementary
#04330D #240433 #330412
monochromatic
#021C07 #021C07 #04330D #086C1B #0DA42A

Accessibility & contrast

On white

14.15
#04330D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#04330D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04330D
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04330D#FFFFFF#000000##FFFFFF
##04330D1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D09
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#00322B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #04330d;
/* rgb */ color: rgb(4, 51, 13);
/* oklch */ color: oklch(28.1% 0.081 146.0);
Tailwind
colors: {
  custom: {
    50: '#4d6b4d',
    500: '#04330d',
    950: '#000000',
  },
}
SCSS
$custom: #04330d;
$custom-light: #4d6b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#04330d",
  "rgb": {
    "r": 4,
    "g": 51,
    "b": 13
  },
  "hsl": {
    "h": 131.489,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28112,
    "c": 0.08085,
    "h": 146
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#04330D
secondary
#751D64
accent
#2CD4FC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #04330D

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

Preview Lab → · Contrast checker → · Palette generator →

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