#345217#345217

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

Color values

HEX#345217
RGBrgb(52, 82, 23)
HSLhsl(91, 56%, 21%)
HSVhsv(91, 72%, 32%)
CMYKcmyk(36.6%, 0%, 72%, 67.8%)
CIE-LABlab(31.41, -22.29, 29.99)
CIE-LCHlch(31.41, 37.37, 126.62°)
OKLaboklab(40.12% -0.0626 0.0686)
OKLCHoklch(40.12% 0.093 132.4)
XYZxyz(4.5881, 6.8263, 1.8863)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345217 #351752
analogous
#515217 #345217 #175217
triadic
#345217 #173452 #521734
tetradic
#345217 #175152 #351752 #521717
square
#345217 #175152 #351752 #521717
split-complementary
#345217 #171752 #521751
monochromatic
#0F1807 #16220A #345217 #528224 #71B232

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345217#FFFFFF#000000##FFFFFF
##3452171.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0F
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#354E46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #345217;
/* rgb */ color: rgb(52, 82, 23);
/* oklch */ color: oklch(40.1% 0.093 132.4);
Tailwind
colors: {
  custom: {
    50: '#6e8357',
    500: '#345217',
    950: '#000000',
  },
}
SCSS
$custom: #345217;
$custom-light: #6e8357;
$custom-dark: #000000;
JSON
{
  "hex": "#345217",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 90.508,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.09285,
    "h": 132.4
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#345217
secondary
#633C89
accent
#48DF95
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345217

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

Preview Lab → · Contrast checker → · Palette generator →

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