#343C12#343C12

#343C12 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.064 H 119.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#343C12
RGBrgb(52, 60, 18)
HSLhsl(71, 54%, 15%)
HSVhsv(71, 70%, 24%)
CMYKcmyk(13.3%, 0%, 70%, 76.5%)
CIE-LABlab(23.69, -10.62, 24.17)
CIE-LCHlch(23.69, 26.40, 113.71°)
OKLaboklab(33.85% -0.0309 0.0556)
OKLCHoklch(33.85% 0.064 119)
XYZxyz(3.1413, 4.0055, 1.1798)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C12 #1A123C
analogous
#3C2F12 #343C12 #1F3C12
triadic
#343C12 #12343C #3C1234
tetradic
#343C12 #123C2F #1A123C #3C121F
square
#343C12 #123C2F #1A123C #3C121F
split-complementary
#343C12 #121F3C #2F123C
monochromatic
#141807 #141807 #343C12 #5D6B20 #869A2E

Accessibility & contrast

On white

11.66
#343C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#343C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C12
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C12#FFFFFF#000000##FFFFFF
##343C121.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380D
Deuteranopia (green-blind)
#3F3915
Tritanopia (blue-blind)
#373933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #343c12;
/* rgb */ color: rgb(52, 60, 18);
/* oklch */ color: oklch(33.8% 0.064 119.0);
Tailwind
colors: {
  custom: {
    50: '#6d7152',
    500: '#343c12',
    950: '#000000',
  },
}
SCSS
$custom: #343c12;
$custom-light: #6d7152;
$custom-dark: #000000;
JSON
{
  "hex": "#343c12",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 71.429,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33849,
    "c": 0.06356,
    "h": 119
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#343C12
secondary
#413575
accent
#4BDD67
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #343C12

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

Preview Lab → · Contrast checker → · Palette generator →

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