#345522#345522

#345522 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.1% C 0.087 H 135.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#345522
RGBrgb(52, 85, 34)
HSLhsl(99, 43%, 23%)
HSVhsv(99, 60%, 33%)
CMYKcmyk(38.8%, 0%, 60%, 66.7%)
CIE-LABlab(32.57, -22.61, 25.65)
CIE-LCHlch(32.57, 34.19, 131.39°)
OKLaboklab(41.1% -0.0625 0.0607)
OKLCHoklch(41.1% 0.087 135.8)
XYZxyz(4.9533, 7.3423, 2.6693)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345522 #432255
analogous
#4D5522 #345522 #225529
triadic
#345522 #223455 #552234
tetradic
#345522 #224D55 #432255 #552922
square
#345522 #224D55 #432255 #552922
split-complementary
#345522 #292255 #55224D
monochromatic
#0D1609 #192911 #345522 #4F8133 #69AC45

Accessibility & contrast

On white

8.51
#345522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#345522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345522
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345522#FFFFFF#000000##FFFFFF
##3455221.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1D
Deuteranopia (green-blind)
#534C26
Tritanopia (blue-blind)
#33524A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #345522;
/* rgb */ color: rgb(52, 85, 34);
/* oklch */ color: oklch(41.1% 0.087 135.8);
Tailwind
colors: {
  custom: {
    50: '#6e855f',
    500: '#345522',
    950: '#000000',
  },
}
SCSS
$custom: #345522;
$custom-light: #6e855f;
$custom-dark: #000000;
JSON
{
  "hex": "#345522",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 34
  },
  "hsl": {
    "h": 98.824,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41103,
    "c": 0.08708,
    "h": 135.8
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#345522
secondary
#734A89
accent
#55D3A6
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #345522

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

Preview Lab → · Contrast checker → · Palette generator →

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