#345C17#345C17

#345C17 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.0% C 0.108 H 134.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#345C17
RGBrgb(52, 92, 23)
HSLhsl(95, 60%, 23%)
HSVhsv(95, 75%, 36%)
CMYKcmyk(43.5%, 0%, 75%, 63.9%)
CIE-LABlab(34.89, -27.18, 33.64)
CIE-LCHlch(34.89, 43.25, 128.94°)
OKLaboklab(42.96% -0.0759 0.0763)
OKLCHoklch(42.96% 0.108 134.8)
XYZxyz(5.3979, 8.4459, 2.1563)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C17 #3F175C
analogous
#565C17 #345C17 #175C1D
triadic
#345C17 #17345C #5C1734
tetradic
#345C17 #17565C #3F175C #5C1D17
square
#345C17 #17565C #3F175C #5C1D17
split-complementary
#345C17 #1D175C #5C1756
monochromatic
#0E1806 #182B0B #345C17 #508D23 #6BBE2F

Accessibility & contrast

On white

7.81
#345C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#345C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345C17
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C17#FFFFFF#000000##FFFFFF
##345C171.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540C
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#33584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345c17;
/* rgb */ color: rgb(52, 92, 23);
/* oklch */ color: oklch(43.0% 0.108 134.8);
Tailwind
colors: {
  custom: {
    50: '#6f8a59',
    500: '#345c17',
    950: '#000000',
  },
}
SCSS
$custom: #345c17;
$custom-light: #6f8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#345c17",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 94.783,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42962,
    "c": 0.10759,
    "h": 134.8
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#345C17
secondary
#6E3C93
accent
#45E3A1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #345C17

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

Preview Lab → · Contrast checker → · Palette generator →

#345C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva