#345219#345219

#345219 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.1% C 0.091 H 132.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#345219
RGBrgb(52, 82, 25)
HSLhsl(92, 53%, 21%)
HSVhsv(92, 70%, 32%)
CMYKcmyk(36.6%, 0%, 69.5%, 67.8%)
CIE-LABlab(31.43, -22.10, 29.04)
CIE-LCHlch(31.43, 36.49, 127.27°)
OKLaboklab(40.14% -0.0618 0.0669)
OKLCHoklch(40.14% 0.091 132.8)
XYZxyz(4.6089, 6.8347, 1.9959)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345219 #371952
analogous
#505219 #345219 #19521A
triadic
#345219 #193452 #521934
tetradic
#345219 #195052 #371952 #521A19
square
#345219 #195052 #371952 #521A19
split-complementary
#345219 #1A1952 #521950
monochromatic
#0F1707 #16230B #345219 #528127 #6FB036

Accessibility & contrast

On white

8.87
#345219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345219
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345219#FFFFFF#000000##FFFFFF
##3452191.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B12
Deuteranopia (green-blind)
#51491E
Tritanopia (blue-blind)
#344F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #345219;
/* rgb */ color: rgb(52, 82, 25);
/* oklch */ color: oklch(40.1% 0.091 132.8);
Tailwind
colors: {
  custom: {
    50: '#6e8359',
    500: '#345219',
    950: '#000000',
  },
}
SCSS
$custom: #345219;
$custom-light: #6e8359;
$custom-dark: #000000;
JSON
{
  "hex": "#345219",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 91.579,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.0911,
    "h": 132.8
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#345219
secondary
#653E88
accent
#4BDD98
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345219

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

Preview Lab → · Contrast checker → · Palette generator →

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