#345620#345620

#345620 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.4% C 0.091 H 135.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#345620
RGBrgb(52, 86, 32)
HSLhsl(98, 46%, 23%)
HSVhsv(98, 63%, 34%)
CMYKcmyk(39.5%, 0%, 62.8%, 66.3%)
CIE-LABlab(32.90, -23.36, 27.10)
CIE-LCHlch(32.90, 35.77, 130.76°)
OKLaboklab(41.36% -0.0647 0.0636)
OKLCHoklch(41.36% 0.091 135.5)
XYZxyz(5.0046, 7.4897, 2.5482)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345620 #422056
analogous
#4F5620 #345620 #205627
triadic
#345620 #203456 #562034
tetradic
#345620 #204F56 #422056 #562720
square
#345620 #204F56 #422056 #562720
split-complementary
#345620 #272056 #56204F
monochromatic
#0D1608 #19290F #345620 #4F8331 #6AAF41

Accessibility & contrast

On white

8.41
#345620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#345620 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345620
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345620#FFFFFF#000000##FFFFFF
##3456201.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1A
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#33534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #345620;
/* rgb */ color: rgb(52, 86, 32);
/* oklch */ color: oklch(41.4% 0.091 135.5);
Tailwind
colors: {
  custom: {
    50: '#6e865d',
    500: '#345620',
    950: '#000000',
  },
}
SCSS
$custom: #345620;
$custom-light: #6e865d;
$custom-dark: #000000;
JSON
{
  "hex": "#345620",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 32
  },
  "hsl": {
    "h": 97.778,
    "s": 45.763,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.09071,
    "h": 135.5
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#345620
secondary
#72478B
accent
#52D5A5
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #345620

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

Preview Lab → · Contrast checker → · Palette generator →

#345620 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva