#345B17#345B17

#345B17 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.106 H 134.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#345B17
RGBrgb(52, 91, 23)
HSLhsl(94, 60%, 22%)
HSVhsv(94, 75%, 36%)
CMYKcmyk(42.9%, 0%, 74.7%, 64.3%)
CIE-LABlab(34.55, -26.71, 33.28)
CIE-LCHlch(34.55, 42.67, 128.75°)
OKLaboklab(42.68% -0.0746 0.0755)
OKLCHoklch(42.68% 0.106 134.6)
XYZxyz(5.3118, 8.2738, 2.1276)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B17 #3E175B
analogous
#565B17 #345B17 #175B1C
triadic
#345B17 #17345B #5B1734
tetradic
#345B17 #17565B #3E175B #5B1C17
square
#345B17 #17565B #3E175B #5B1C17
split-complementary
#345B17 #1C175B #5B1756
monochromatic
#0E1806 #182A0B #345B17 #508C23 #6CBD30

Accessibility & contrast

On white

7.91
#345B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#345B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345B17
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345B17#FFFFFF#000000##FFFFFF
##345B171.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530C
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#33574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #345b17;
/* rgb */ color: rgb(52, 91, 23);
/* oklch */ color: oklch(42.7% 0.106 134.6);
Tailwind
colors: {
  custom: {
    50: '#6f8a58',
    500: '#345b17',
    950: '#000000',
  },
}
SCSS
$custom: #345b17;
$custom-light: #6f8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#345b17",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 94.412,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.10615,
    "h": 134.6
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#345B17
secondary
#6D3C92
accent
#45E3A0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #345B17

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

Preview Lab → · Contrast checker → · Palette generator →

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