#343E12#343E12

#343E12 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.4% C 0.067 H 120.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#343E12
RGBrgb(52, 62, 18)
HSLhsl(74, 55%, 16%)
HSVhsv(74, 71%, 24%)
CMYKcmyk(16.1%, 0%, 71%, 75.7%)
CIE-LABlab(24.38, -11.81, 24.93)
CIE-LCHlch(24.38, 27.58, 115.35°)
OKLaboklab(34.41% -0.0342 0.0572)
OKLCHoklch(34.41% 0.067 120.9)
XYZxyz(3.2480, 4.2190, 1.2154)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E12 #1C123E
analogous
#3E3212 #343E12 #1E3E12
triadic
#343E12 #12343E #3E1234
tetradic
#343E12 #123E32 #1C123E #3E121E
square
#343E12 #123E32 #1C123E #3E121E
split-complementary
#343E12 #121E3E #32123E
monochromatic
#141807 #141807 #343E12 #5C6D20 #849D2E

Accessibility & contrast

On white

11.39
#343E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#343E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E12
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E12#FFFFFF#000000##FFFFFF
##343E121.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#373B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #343e12;
/* rgb */ color: rgb(52, 62, 18);
/* oklch */ color: oklch(34.4% 0.067 120.9);
Tailwind
colors: {
  custom: {
    50: '#6d7352',
    500: '#343e12',
    950: '#000000',
  },
}
SCSS
$custom: #343e12;
$custom-light: #6d7352;
$custom-dark: #000000;
JSON
{
  "hex": "#343e12",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 73.636,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34407,
    "c": 0.0666,
    "h": 120.9
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#343E12
secondary
#443577
accent
#49DE6B
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #343E12

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

Preview Lab → · Contrast checker → · Palette generator →

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