#04330F#04330F

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

Color values

HEX#04330F
RGBrgb(4, 51, 15)
HSLhsl(134, 85%, 11%)
HSVhsv(134, 92%, 20%)
CMYKcmyk(92.2%, 0%, 70.6%, 80%)
CIE-LABlab(17.59, -24.60, 18.15)
CIE-LCHlch(17.59, 30.57, 143.57°)
OKLaboklab(28.14% -0.0661 0.0431)
OKLCHoklch(28.14% 0.079 146.9)
XYZxyz(1.3200, 2.4278, 0.8509)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04330F #330428
analogous
#103304 #04330F #043326
triadic
#04330F #0F0433 #330F04
tetradic
#04330F #041033 #330428 #332604
square
#04330F #041033 #330428 #332604
split-complementary
#04330F #260433 #330410
monochromatic
#021C08 #021C08 #04330F #086C20 #0DA430

Accessibility & contrast

On white

14.14
#04330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#04330F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04330F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04330F#FFFFFF#000000##FFFFFF
##04330F1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04330f;
/* rgb */ color: rgb(4, 51, 15);
/* oklch */ color: oklch(28.1% 0.079 146.9);
Tailwind
colors: {
  custom: {
    50: '#4d6b4e',
    500: '#04330f',
    950: '#000000',
  },
}
SCSS
$custom: #04330f;
$custom-light: #4d6b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#04330f",
  "rgb": {
    "r": 4,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 134.043,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28141,
    "c": 0.07891,
    "h": 146.9
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#04330F
secondary
#751D61
accent
#2CCBFC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020702
muted
#787A78

Preview Lab

Preview with #04330F

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

Preview Lab → · Contrast checker → · Palette generator →

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