#345216#345216

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

Color values

HEX#345216
RGBrgb(52, 82, 22)
HSLhsl(90, 58%, 20%)
HSVhsv(90, 73%, 32%)
CMYKcmyk(36.6%, 0%, 73.2%, 67.8%)
CIE-LABlab(31.40, -22.38, 30.45)
CIE-LCHlch(31.40, 37.79, 126.32°)
OKLaboklab(40.1% -0.0629 0.0694)
OKLCHoklch(40.1% 0.094 132.2)
XYZxyz(4.5782, 6.8224, 1.8345)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345216 #341652
analogous
#525216 #345216 #165216
triadic
#345216 #163452 #521634
tetradic
#345216 #165252 #341652 #521616
square
#345216 #165252 #341652 #521616
split-complementary
#345216 #161652 #521652
monochromatic
#0F1806 #152209 #345216 #538223 #71B330

Accessibility & contrast

On white

8.88
#345216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#345216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345216
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345216#FFFFFF#000000##FFFFFF
##3452161.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0E
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#354E46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #345216;
/* rgb */ color: rgb(52, 82, 22);
/* oklch */ color: oklch(40.1% 0.094 132.2);
Tailwind
colors: {
  custom: {
    50: '#6e8357',
    500: '#345216',
    950: '#000000',
  },
}
SCSS
$custom: #345216;
$custom-light: #6e8357;
$custom-dark: #000000;
JSON
{
  "hex": "#345216",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.09369,
    "h": 132.2
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#345216
secondary
#623A89
accent
#47E194
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345216

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

Preview Lab → · Contrast checker → · Palette generator →

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