#345B19#345B19

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

Color values

HEX#345B19
RGBrgb(52, 91, 25)
HSLhsl(95, 57%, 23%)
HSVhsv(95, 73%, 36%)
CMYKcmyk(42.9%, 0%, 72.5%, 64.3%)
CIE-LABlab(34.56, -26.53, 32.40)
CIE-LCHlch(34.56, 41.88, 129.32°)
OKLaboklab(42.7% -0.0739 0.074)
OKLCHoklch(42.7% 0.105 135)
XYZxyz(5.3326, 8.2821, 2.2371)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B19 #40195B
analogous
#555B19 #345B19 #195B1F
triadic
#345B19 #19345B #5B1934
tetradic
#345B19 #19555B #40195B #5B1F19
square
#345B19 #19555B #40195B #5B1F19
split-complementary
#345B19 #1F195B #5B1955
monochromatic
#0E1807 #192B0C #345B19 #4F8B26 #6BBB33

Accessibility & contrast

On white

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

On black

2.66
#345B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##345B19#FFFFFF#000000##FFFFFF
##345B191.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5310
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#33574E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #345b19;
/* rgb */ color: rgb(52, 91, 25);
/* oklch */ color: oklch(42.7% 0.105 135.0);
Tailwind
colors: {
  custom: {
    50: '#6f8a5a',
    500: '#345b19',
    950: '#000000',
  },
}
SCSS
$custom: #345b19;
$custom-light: #6f8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#345b19",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 95.455,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42697,
    "c": 0.1046,
    "h": 135
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#345B19
secondary
#6F3F91
accent
#48E0A2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #345B19

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

Preview Lab → · Contrast checker → · Palette generator →

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