#343D12#343D12

#343D12 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.065 H 120.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#343D12
RGBrgb(52, 61, 18)
HSLhsl(73, 54%, 15%)
HSVhsv(73, 70%, 24%)
CMYKcmyk(14.8%, 0%, 70.5%, 76.1%)
CIE-LABlab(24.04, -11.22, 24.55)
CIE-LCHlch(24.04, 26.99, 114.55°)
OKLaboklab(34.13% -0.0325 0.0564)
OKLCHoklch(34.13% 0.065 120)
XYZxyz(3.1941, 4.1112, 1.1974)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D12 #1B123D
analogous
#3D3012 #343D12 #1E3D12
triadic
#343D12 #12343D #3D1234
tetradic
#343D12 #123D30 #1B123D #3D121E
square
#343D12 #123D30 #1B123D #3D121E
split-complementary
#343D12 #121E3D #30123D
monochromatic
#141807 #141807 #343D12 #5C6C20 #859C2E

Accessibility & contrast

On white

11.52
#343D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#343D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D12
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D12#FFFFFF#000000##FFFFFF
##343D121.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#403915
Tritanopia (blue-blind)
#373A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #343d12;
/* rgb */ color: rgb(52, 61, 18);
/* oklch */ color: oklch(34.1% 0.065 120.0);
Tailwind
colors: {
  custom: {
    50: '#6d7252',
    500: '#343d12',
    950: '#000000',
  },
}
SCSS
$custom: #343d12;
$custom-light: #6d7252;
$custom-dark: #000000;
JSON
{
  "hex": "#343d12",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 72.558,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34128,
    "c": 0.06508,
    "h": 120
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#343D12
secondary
#423576
accent
#4ADE69
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #343D12

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

Preview Lab → · Contrast checker → · Palette generator →

#343D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva