#03340C#03340C

#03340C is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.4% C 0.084 H 145.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#03340C
RGBrgb(3, 52, 12)
HSLhsl(131, 89%, 11%)
HSVhsv(131, 94%, 20%)
CMYKcmyk(94.2%, 0%, 76.9%, 79.6%)
CIE-LABlab(17.93, -25.69, 20.03)
CIE-LCHlch(17.93, 32.58, 142.06°)
OKLaboklab(28.4% -0.0692 0.0471)
OKLCHoklch(28.4% 0.084 145.8)
XYZxyz(1.3318, 2.5017, 0.7604)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03340C #34032B
analogous
#123403 #03340C #033424
triadic
#03340C #0C0334 #340C03
tetradic
#03340C #031234 #34032B #342403
square
#03340C #031234 #34032B #342403
split-complementary
#03340C #240334 #340312
monochromatic
#021D07 #021D07 #03340C #066E19 #0AA827

Accessibility & contrast

On white

14.00
#03340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#03340C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03340C
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03340C#FFFFFF#000000##FFFFFF
##03340C1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E07
Deuteranopia (green-blind)
#302A10
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #03340c;
/* rgb */ color: rgb(3, 52, 12);
/* oklch */ color: oklch(28.4% 0.084 145.8);
Tailwind
colors: {
  custom: {
    50: '#4d6c4d',
    500: '#03340c',
    950: '#000000',
  },
}
SCSS
$custom: #03340c;
$custom-light: #4d6c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#03340c",
  "rgb": {
    "r": 3,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 131.02,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28401,
    "c": 0.08366,
    "h": 145.8
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#03340C
secondary
#771C66
accent
#29D8FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #03340C

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

Preview Lab → · Contrast checker → · Palette generator →

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