#345820#345820

#345820 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.9% C 0.094 H 135.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#345820
RGBrgb(52, 88, 32)
HSLhsl(99, 47%, 24%)
HSVhsv(99, 64%, 35%)
CMYKcmyk(40.9%, 0%, 63.6%, 65.5%)
CIE-LABlab(33.59, -24.35, 27.89)
CIE-LCHlch(33.59, 37.03, 131.12°)
OKLaboklab(41.93% -0.0674 0.0653)
OKLCHoklch(41.93% 0.094 135.9)
XYZxyz(5.1665, 7.8135, 2.6022)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345820 #442058
analogous
#505820 #345820 #205828
triadic
#345820 #203458 #582034
tetradic
#345820 #205058 #442058 #582820
square
#345820 #205058 #442058 #582820
split-complementary
#345820 #282058 #582050
monochromatic
#0D1608 #192B10 #345820 #4F8530 #69B241

Accessibility & contrast

On white

8.19
#345820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#345820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345820
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345820#FFFFFF#000000##FFFFFF
##3458201.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511A
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#33554C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #345820;
/* rgb */ color: rgb(52, 88, 32);
/* oklch */ color: oklch(41.9% 0.094 135.9);
Tailwind
colors: {
  custom: {
    50: '#6e875e',
    500: '#345820',
    950: '#000000',
  },
}
SCSS
$custom: #345820;
$custom-light: #6e875e;
$custom-dark: #000000;
JSON
{
  "hex": "#345820",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 32
  },
  "hsl": {
    "h": 98.571,
    "s": 46.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.09386,
    "h": 135.9
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#345820
secondary
#74478C
accent
#51D6A7
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #345820

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

Preview Lab → · Contrast checker → · Palette generator →

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