#345C12#345C12

#345C12 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.9% C 0.111 H 134.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#345C12
RGBrgb(52, 92, 18)
HSLhsl(92, 67%, 22%)
HSVhsv(92, 80%, 36%)
CMYKcmyk(43.5%, 0%, 80.4%, 63.9%)
CIE-LABlab(34.86, -27.57, 35.66)
CIE-LCHlch(34.86, 45.07, 127.71°)
OKLaboklab(42.92% -0.0773 0.0797)
OKLCHoklch(42.92% 0.111 134.1)
XYZxyz(5.3524, 8.4278, 1.9168)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C12 #3A125C
analogous
#595C12 #345C12 #125C15
triadic
#345C12 #12345C #5C1234
tetradic
#345C12 #12595C #3A125C #5C1512
square
#345C12 #12595C #3A125C #5C1512
split-complementary
#345C12 #15125C #5C1259
monochromatic
#0E1A05 #172908 #345C12 #518F1C #6EC226

Accessibility & contrast

On white

7.82
#345C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#345C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345C12
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C12#FFFFFF#000000##FFFFFF
##345C121.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#34584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345c12;
/* rgb */ color: rgb(52, 92, 18);
/* oklch */ color: oklch(42.9% 0.111 134.1);
Tailwind
colors: {
  custom: {
    50: '#708a56',
    500: '#345c12',
    950: '#000000',
  },
}
SCSS
$custom: #345c12;
$custom-light: #708a56;
$custom-dark: #000000;
JSON
{
  "hex": "#345c12",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 92.432,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.11103,
    "h": 134.1
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#345C12
secondary
#693594
accent
#3EEA9B
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #345C12

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

Preview Lab → · Contrast checker → · Palette generator →

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