#345528#345528

#345528 is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.2% C 0.081 H 137.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#345528
RGBrgb(52, 85, 40)
HSLhsl(104, 36%, 25%)
HSVhsv(104, 53%, 33%)
CMYKcmyk(38.8%, 0%, 52.9%, 66.7%)
CIE-LABlab(32.66, -21.79, 22.39)
CIE-LCHlch(32.66, 31.24, 134.22°)
OKLaboklab(41.2% -0.0598 0.054)
OKLCHoklch(41.2% 0.081 137.9)
XYZxyz(5.0475, 7.3800, 3.1656)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345528 #492855
analogous
#4B5528 #345528 #285533
triadic
#345528 #283455 #552834
tetradic
#345528 #284B55 #492855 #553328
square
#345528 #284B55 #492855 #553328
split-complementary
#345528 #332855 #55284B
monochromatic
#0D150A #1B2B14 #345528 #4D7F3C #67A84F

Accessibility & contrast

On white

8.48
#345528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#345528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345528
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345528#FFFFFF#000000##FFFFFF
##3455281.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F24
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#32524B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #345528;
/* rgb */ color: rgb(52, 85, 40);
/* oklch */ color: oklch(41.2% 0.081 137.9);
Tailwind
colors: {
  custom: {
    50: '#6d8563',
    500: '#345528',
    950: '#000000',
  },
}
SCSS
$custom: #345528;
$custom-light: #6d8563;
$custom-dark: #000000;
JSON
{
  "hex": "#345528",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 40
  },
  "hsl": {
    "h": 104,
    "s": 36,
    "l": 24.51
  },
  "oklch": {
    "l": 0.41198,
    "c": 0.08057,
    "h": 137.9
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#345528
secondary
#795188
accent
#5CCCAE
background
#F6F8F5
surface
#ECEFEA
border
#C7CAC6
text
#070B05
muted
#7A7C79

Preview Lab

Preview with #345528

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

Preview Lab → · Contrast checker → · Palette generator →

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