#345221#345221

#345221 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.083 H 134.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#345221
RGBrgb(52, 82, 33)
HSLhsl(97, 43%, 23%)
HSVhsv(97, 60%, 32%)
CMYKcmyk(36.6%, 0%, 59.8%, 67.8%)
CIE-LABlab(31.52, -21.20, 24.95)
CIE-LCHlch(31.52, 32.74, 130.35°)
OKLaboklab(40.24% -0.0587 0.0591)
OKLCHoklch(40.24% 0.083 134.8)
XYZxyz(4.7079, 6.8743, 2.5174)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345221 #3F2152
analogous
#4C5221 #345221 #215227
triadic
#345221 #213452 #522134
tetradic
#345221 #214C52 #3F2152 #522721
square
#345221 #214C52 #3F2152 #522721
split-complementary
#345221 #272152 #52214C
monochromatic
#0E1609 #18260F #345221 #507E33 #6BA944

Accessibility & contrast

On white

8.84
#345221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#345221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345221
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345221#FFFFFF#000000##FFFFFF
##3452211.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1C
Deuteranopia (green-blind)
#514924
Tritanopia (blue-blind)
#344F47
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #345221;
/* rgb */ color: rgb(52, 82, 33);
/* oklch */ color: oklch(40.2% 0.083 134.8);
Tailwind
colors: {
  custom: {
    50: '#6d835e',
    500: '#345221',
    950: '#000000',
  },
}
SCSS
$custom: #345221;
$custom-light: #6d835e;
$custom-dark: #000000;
JSON
{
  "hex": "#345221",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 33
  },
  "hsl": {
    "h": 96.735,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.40241,
    "c": 0.08326,
    "h": 134.8
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#345221
secondary
#6E4986
accent
#55D2A2
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #345221

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

Preview Lab → · Contrast checker → · Palette generator →

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