#345C18#345C18

#345C18 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.0% C 0.107 H 135.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#345C18
RGBrgb(52, 92, 24)
HSLhsl(95, 59%, 23%)
HSVhsv(95, 74%, 36%)
CMYKcmyk(43.5%, 0%, 73.9%, 63.9%)
CIE-LABlab(34.90, -27.10, 33.21)
CIE-LCHlch(34.90, 42.86, 129.21°)
OKLaboklab(42.97% -0.0756 0.0755)
OKLCHoklch(42.97% 0.107 135)
XYZxyz(5.4081, 8.4500, 2.2100)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C18 #40185C
analogous
#565C18 #345C18 #185C1E
triadic
#345C18 #18345C #5C1834
tetradic
#345C18 #18565C #40185C #5C1E18
square
#345C18 #18565C #40185C #5C1E18
split-complementary
#345C18 #1E185C #5C1856
monochromatic
#0E1806 #192B0B #345C18 #4F8D25 #6BBD31

Accessibility & contrast

On white

7.81
#345C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345C18
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C18#FFFFFF#000000##FFFFFF
##345C181.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540E
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#33584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345c18;
/* rgb */ color: rgb(52, 92, 24);
/* oklch */ color: oklch(43.0% 0.107 135.0);
Tailwind
colors: {
  custom: {
    50: '#6f8a59',
    500: '#345c18',
    950: '#000000',
  },
}
SCSS
$custom: #345c18;
$custom-light: #6f8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#345c18",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 95.294,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42971,
    "c": 0.10683,
    "h": 135
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#345C18
secondary
#6F3D93
accent
#46E2A2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #345C18

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

Preview Lab → · Contrast checker → · Palette generator →

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