#03340F#03340F

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

Color values

HEX#03340F
RGBrgb(3, 52, 15)
HSLhsl(135, 89%, 11%)
HSVhsv(135, 94%, 20%)
CMYKcmyk(94.2%, 0%, 71.2%, 79.6%)
CIE-LABlab(17.96, -25.25, 18.60)
CIE-LCHlch(17.96, 31.36, 143.63°)
OKLaboklab(28.44% -0.0678 0.044)
OKLCHoklch(28.44% 0.081 147.1)
XYZxyz(1.3517, 2.5097, 0.8650)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03340F #340328
analogous
#0F3403 #03340F #033427
triadic
#03340F #0F0334 #340F03
tetradic
#03340F #030F34 #340328 #342703
square
#03340F #030F34 #340328 #342703
split-complementary
#03340F #270334 #34030F
monochromatic
#021D08 #021D08 #03340F #066E20 #0AA830

Accessibility & contrast

On white

13.98
#03340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03340F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03340F#FFFFFF#000000##FFFFFF
##03340F1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0B
Deuteranopia (green-blind)
#2F2A12
Tritanopia (blue-blind)
#00332C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #03340f;
/* rgb */ color: rgb(3, 52, 15);
/* oklch */ color: oklch(28.4% 0.081 147.1);
Tailwind
colors: {
  custom: {
    50: '#4d6c4e',
    500: '#03340f',
    950: '#000000',
  },
}
SCSS
$custom: #03340f;
$custom-light: #4d6c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#03340f",
  "rgb": {
    "r": 3,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 134.694,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28442,
    "c": 0.08084,
    "h": 147.1
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#03340F
secondary
#771C61
accent
#29CBFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020702
muted
#787A78

Preview Lab

Preview with #03340F

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

Preview Lab → · Contrast checker → · Palette generator →

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