#345517#345517

#345517 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.097 H 133.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#345517
RGBrgb(52, 85, 23)
HSLhsl(92, 57%, 21%)
HSVhsv(92, 73%, 33%)
CMYKcmyk(38.8%, 0%, 72.9%, 66.7%)
CIE-LABlab(32.46, -23.80, 31.10)
CIE-LCHlch(32.46, 39.16, 127.42°)
OKLaboklab(40.97% -0.0667 0.0709)
OKLCHoklch(40.97% 0.097 133.2)
XYZxyz(4.8193, 7.2887, 1.9634)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345517 #381755
analogous
#535517 #345517 #175519
triadic
#345517 #173455 #551734
tetradic
#345517 #175355 #381755 #551917
square
#345517 #175355 #381755 #551917
split-complementary
#345517 #191755 #551753
monochromatic
#0F1807 #17250A #345517 #518524 #6FB531

Accessibility & contrast

On white

8.54
#345517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#345517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345517
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345517#FFFFFF#000000##FFFFFF
##3455171.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0E
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#345148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #345517;
/* rgb */ color: rgb(52, 85, 23);
/* oklch */ color: oklch(41.0% 0.097 133.2);
Tailwind
colors: {
  custom: {
    50: '#6e8558',
    500: '#345517',
    950: '#000000',
  },
}
SCSS
$custom: #345517;
$custom-light: #6e8558;
$custom-dark: #000000;
JSON
{
  "hex": "#345517",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 91.935,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40969,
    "c": 0.09734,
    "h": 133.2
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#345517
secondary
#663C8C
accent
#47E199
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345517

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

Preview Lab → · Contrast checker → · Palette generator →

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