#06340F#06340F

#06340F is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.5% C 0.079 H 146.2°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#06340F
RGBrgb(6, 52, 15)
HSLhsl(132, 79%, 11%)
HSVhsv(132, 88%, 20%)
CMYKcmyk(88.5%, 0%, 71.2%, 79.6%)
CIE-LABlab(18.05, -24.52, 18.72)
CIE-LCHlch(18.05, 30.85, 142.63°)
OKLaboklab(28.54% -0.066 0.0442)
OKLCHoklch(28.54% 0.079 146.2)
XYZxyz(1.3892, 2.5290, 0.8668)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06340F #34062B
analogous
#143406 #06340F #063426
triadic
#06340F #0F0634 #340F06
tetradic
#06340F #061434 #34062B #342606
square
#06340F #061434 #34062B #342606
split-complementary
#06340F #260634 #340614
monochromatic
#031B08 #031B08 #06340F #0C6B1F #13A22F

Accessibility & contrast

On white

13.95
#06340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#06340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06340F
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06340F#FFFFFF#000000##FFFFFF
##06340F1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #06340f;
/* rgb */ color: rgb(6, 52, 15);
/* oklch */ color: oklch(28.5% 0.079 146.2);
Tailwind
colors: {
  custom: {
    50: '#4f6c4f',
    500: '#06340f',
    950: '#000000',
  },
}
SCSS
$custom: #06340f;
$custom-light: #4f6c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#06340f",
  "rgb": {
    "r": 6,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 131.739,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2854,
    "c": 0.07948,
    "h": 146.2
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#06340F
secondary
#742164
accent
#32CFF6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020702
muted
#787A78

Preview Lab

Preview with #06340F

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

Preview Lab → · Contrast checker → · Palette generator →

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